diff options
author | Andre Polykanine <ap@oire.me> | 2019-11-02 20:16:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-02 20:16:53 +0200 |
commit | d2370c50bcb327830437e66cad831f62b7a407d2 (patch) | |
tree | c181ca7ca56e4850943347bca1197a87a7dfaa34 | |
parent | a4006483feb4c80cbac68856eadbc83c694f7050 (diff) | |
parent | c9cdda14053d803b2fd4f99a856303f5b867967c (diff) |
Merge pull request #3756 from frol/patch-1
[rust/ru-ru] minor fix in translation
-rw-r--r-- | ru-ru/rust-ru.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ru-ru/rust-ru.html.markdown b/ru-ru/rust-ru.html.markdown index 7bd2809a..16b635f0 100644 --- a/ru-ru/rust-ru.html.markdown +++ b/ru-ru/rust-ru.html.markdown @@ -130,7 +130,7 @@ fn main() { // 2. Типы // ////////////// - // Struct + // Структура struct Point { x: i32, y: i32, @@ -175,7 +175,7 @@ fn main() { // Методы // impl<T> Foo<T> { - fn get_bar(self) -> T { + fn get_bar(self) -> T { self.bar } } @@ -233,7 +233,7 @@ fn main() { println!("{}", i); } - // Отрезки + // Диапазоны for i in 0u32..10 { print!("{} ", i); } |