Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
4707105
Initial commit
AveNRU Aug 26, 2024
c3f0f26
Initial commit
AveNRU Aug 26, 2024
f56f8c1
обновление
AveNRU Aug 26, 2024
5a98dbf
2
AveNRU Aug 26, 2024
ed7b7d2
2 день
AveNRU Aug 27, 2024
8db288e
3
AveNRU Aug 29, 2024
06613b5
4
AveNRU Aug 29, 2024
cec9896
4
AveNRU Aug 29, 2024
aa29d49
5
AveNRU Aug 30, 2024
54cb968
5
AveNRU Aug 30, 2024
297938c
5
AveNRU Aug 30, 2024
08f129a
Merge branch 'rus2' of https://github.com/AveNRU/book into rus2
AveNRU Aug 30, 2024
d3951b8
Update .gitignore
AveNRU Aug 30, 2024
eeede08
6
AveNRU Aug 30, 2024
0c8c64f
6
AveNRU Aug 30, 2024
a826355
6
AveNRU Aug 30, 2024
7fcbf0b
Update README.md
AveNRU Aug 30, 2024
afea5b5
6
AveNRU Aug 31, 2024
19184b5
6
AveNRU Aug 31, 2024
fda90fd
6
AveNRU Aug 31, 2024
90fb1f4
6
AveNRU Aug 31, 2024
df1fb71
6
AveNRU Aug 31, 2024
1ac9b31
Update ch03-02-data-types.md
AveNRU Aug 31, 2024
85d0f1c
6
AveNRU Aug 31, 2024
8026f7c
Update заимствованные слова1.xlsx
AveNRU Aug 31, 2024
c88b08b
6
AveNRU Sep 2, 2024
1620aee
Revert "6"
AveNRU Sep 2, 2024
a5d5f5f
понедельник утро - работа
AveNRU Sep 2, 2024
4b5c396
7
AveNRU Sep 2, 2024
a261077
5
AveNRU Sep 2, 2024
9d8df55
5
AveNRU Sep 2, 2024
c18d57f
6
AveNRU Sep 2, 2024
09499d5
5
AveNRU Sep 2, 2024
dcfc9d1
6
AveNRU Sep 2, 2024
824277a
Update заимствованные слова1.xlsx
AveNRU Sep 3, 2024
2203ee9
7
AveNRU Sep 3, 2024
a25587c
6
AveNRU Sep 3, 2024
a9f71f2
6
AveNRU Sep 3, 2024
fd20d27
s
AveNRU Sep 4, 2024
72ffff2
32
AveNRU Sep 4, 2024
e93acad
5
AveNRU Sep 4, 2024
a636b8a
5
AveNRU Sep 4, 2024
08d3b90
56
AveNRU Sep 5, 2024
4f149d0
5
AveNRU Sep 5, 2024
7418d51
5
AveNRU Sep 6, 2024
43ef2ca
5
AveNRU Sep 6, 2024
a2f25bc
5
AveNRU Sep 6, 2024
e3e607b
Update ch08-02-strings.md
AveNRU Sep 6, 2024
d9166bb
6
AveNRU Sep 6, 2024
1cea52f
+
AveNRU Sep 6, 2024
fc27f89
+
AveNRU Sep 6, 2024
e22c0d7
6
AveNRU Sep 9, 2024
8111509
6
AveNRU Sep 9, 2024
498538f
6
AveNRU Sep 9, 2024
891c4e7
5
AveNRU Sep 10, 2024
fac1f31
5
AveNRU Sep 10, 2024
9076007
5
AveNRU Sep 10, 2024
123ccc8
Merge branch 'rus2' of https://github.com/AveNRU/book into rus2
AveNRU Sep 10, 2024
8d76a6f
6
AveNRU Sep 11, 2024
d966ce6
Update ch02-00-guessing-game-tutorial.md
AveNRU Sep 11, 2024
2ab19c4
5
AveNRU Sep 11, 2024
c4e153d
Update заимствованные слова1.xlsx
AveNRU Sep 11, 2024
34f1af2
6
AveNRU Sep 11, 2024
5cf9b5c
1
AveNRU Sep 11, 2024
22c42a9
5
AveNRU Sep 11, 2024
5a53d70
6
AveNRU Sep 11, 2024
859466d
5
AveNRU Sep 12, 2024
4f3bb29
5
AveNRU Sep 12, 2024
4da7a6f
5
AveNRU Sep 12, 2024
37a0385
Update ch13-02-iterators.md
AveNRU Sep 13, 2024
9a577ce
+
AveNRU Sep 16, 2024
ce93102
+
AveNRU Sep 17, 2024
047d521
+
AveNRU Sep 18, 2024
3747233
+
AveNRU Sep 18, 2024
c26e788
+
AveNRU Sep 20, 2024
f94fc3c
+
AveNRU Sep 20, 2024
1c4fc7a
+
AveNRU Sep 20, 2024
ee9a1f9
+
AveNRU Sep 23, 2024
07264b9
+
AveNRU Sep 23, 2024
0e4976f
+
AveNRU Sep 24, 2024
2f2662d
+
AveNRU Sep 24, 2024
a4b3e71
+
AveNRU Sep 25, 2024
2425f3e
+
AveNRU Sep 25, 2024
9e4d786
+
AveNRU Sep 25, 2024
00a0744
+
AveNRU Sep 26, 2024
3e6ef18
+
AveNRU Sep 26, 2024
8922d8a
+
AveNRU Sep 26, 2024
bd5f264
+
AveNRU Sep 27, 2024
91d8f70
+
AveNRU Sep 30, 2024
b9ce9ac
+
AveNRU Sep 30, 2024
1010b71
+
AveNRU Sep 30, 2024
01d7f87
+
AveNRU Sep 30, 2024
c2ebf0a
+
AveNRU Oct 1, 2024
048e053
+
AveNRU Oct 1, 2024
0d800be
+
AveNRU Oct 2, 2024
8a21696
+
AveNRU Oct 2, 2024
a4b676f
+
AveNRU Oct 2, 2024
7a0f390
+
AveNRU Oct 3, 2024
61cb8c8
+
AveNRU Oct 3, 2024
28117dc
+
AveNRU Oct 4, 2024
1e5bfec
+
AveNRU Oct 7, 2024
812fb3a
Update ch05-01-defining-structs.md
AveNRU Oct 8, 2024
703663a
+
AveNRU Oct 8, 2024
e4a6018
+
AveNRU Oct 8, 2024
696b224
+
AveNRU Oct 9, 2024
f3dbc7e
+
AveNRU Oct 14, 2024
0fa39fa
Обновлено
AveNRU Mar 17, 2025
00a9851
Обновлен
AveNRU Mar 20, 2025
c65f43f
обновление
AveNRU Mar 20, 2025
7e79e44
+
AveNRU Mar 20, 2025
718024f
+
AveNRU Mar 20, 2025
643d3f4
+
AveNRU Mar 20, 2025
53ed1e9
+
AveNRU Mar 20, 2025
2ebddc5
+
AveNRU Mar 21, 2025
bdfdf7c
+
AveNRU Mar 21, 2025
abff30d
+
AveNRU Mar 21, 2025
6861bcf
+
AveNRU Mar 21, 2025
5a97b9e
+
AveNRU Mar 28, 2025
9f9600a
+
AveNRU Jun 7, 2025
f8af3a3
Merge branch 'rus2' of https://github.com/AveNRU/book into rus2
AveNRU Jun 7, 2025
9b96040
+
AveNRU Jun 13, 2025
201b904
+
AveNRU Jun 14, 2025
83f1942
+
AveNRU Jun 14, 2025
d58e508
+
AveNRU Jun 15, 2025
30781be
+
AveNRU Jun 15, 2025
0e76c16
+
AveNRU Jun 16, 2025
82abd4a
+
AveNRU Jun 16, 2025
1a98075
+
AveNRU Jun 16, 2025
1bb684a
+
AveNRU Jun 17, 2025
5874e7b
+
AveNRU Jun 18, 2025
575f02c
+
AveNRU Jun 19, 2025
4c42873
+
AveNRU Jun 20, 2025
9bb3dfd
+
AveNRU Jul 1, 2025
2a83b4d
+
AveNRU Jul 2, 2025
1fae7d2
+
AveNRU Jul 3, 2025
a5bb31a
+
AveNRU Sep 25, 2025
2785fd2
+
AveNRU Sep 29, 2025
a3ccc1f
+
AveNRU Oct 1, 2025
9049b06
+
AveNRU Oct 2, 2025
983aec3
+
AveNRU Oct 2, 2025
e981815
+
AveNRU Oct 2, 2025
9e74626
+
AveNRU Oct 2, 2025
6ae8b23
+
AveNRU Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
257 changes: 257 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
6 changes: 6 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/book/v17/.wsuo
Binary file not shown.
12 changes: 12 additions & 0 deletions .vs/book/v17/DocumentLayout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\Rust\\\u043A\u043D\u0438\u0433\u0438\\book\\",
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": []
}
]
}
Binary file added .vs/book/v17/workspaceFileList.bin
Binary file not shown.
Binary file added .vs/slnx.sqlite
Binary file not shown.
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

## Как устроен процесс перевода

Перевод происходит исключительно в системе GitLocalize. Для регистрации в системе нужно авторизоваться через аккаунт на Github. Для каждого перевода создан отдельный проект.
Список проектов можно найти [тут][books-projects].
Перевод происходит исключительно в системе GitLocalize. Для регистрации в системе нужно авторизоваться через аккаунт на Github. Для каждого перевода создан отдельный дело.
Список дел можно найти [тут][books-projects].

Процесс перевода происходит в следующих этапах:

1. Перевод файла
2. После полного перевода файла появляется кнопка "Create Review Request" для отправки на ревью
3. В течение недели корректор вычитывает перевод, правит ошибки, приводит книгу к одному стилю
4. После этого корректор отправляет Pull Request на Github
5. Модераторы перевода исправляют помарки, опечатки и технические ошибки, вызванные багами GitLocalize, и мержат перевод. После этого перевод синхронизируется с GitLocalize и появляется в системе
3. В течение недели изменитель вычитывает перевод, правит ошибки, приводит книгу к одному стилю
4. После этого изменитель отправляет Pull Request на Github
5. Писари перевода исправляют помарки, опечатки и технические ошибки, вызванные багами GitLocalize, и мержат перевод. После этого перевод синхронизируется с GitLocalize и появляется в системе

## Соглашения о процессе перевода

Expand All @@ -26,7 +26,7 @@
- Перевод должен быть в единой стилистике, которая поддерживается редактором. В [чате переводов][translations-chat] можно задать вопросы по стилистике и принести предложения по ней.

## Ресурсы
- [Список проектов и переводов][books-projects]
- [Список дел и переводов][books-projects]
- [Словарь терминов и переводов](https://github.com/rust-lang-ru/dictionary#readme)
- [Словарь для проверки орфографии](https://github.com/rust-lang-ru/common-configs/blob/master/.yaspellerrc)
- [Чат переводов][translations-chat]
Expand Down
120 changes: 109 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,116 @@
# Язык программирования Rust (The Rust Programming Language)
# The Rust Programming Language

В данном репозитории содержится перевод книги [The Rust Programming Language](https://github.com/rust-lang/book).
![Build Status](https://github.com/rust-lang/book/workflows/CI/badge.svg)

## Зачем ещё один репозиторий?
This repository contains the source of "The Rust Programming Language" book.

Этот репозиторий подключён к системе перевода и вся работа ведётся там.
Сама система перевода нужна для отслеживания изменений в оригинале книги и
за счёт этого становится более удобной поддержка перевода, так как не надо
самому переводчику искать что изменилось - система сама это показывает.
[The book is available in dead-tree form from No Starch Press][nostarch].

## GitLocalize
[nostarch]: https://nostarch.com/rust-programming-language-2nd-edition

Проект на GitLocalize: https://gitlocalize.com/repo/4579
You can also read the book for free online. Please see the book as shipped with
the latest [stable], [beta], or [nightly] Rust releases. Be aware that issues
in those versions may have been fixed in this repository already, as those
releases are updated less frequently.

## Правила участия в переводе
[stable]: https://doc.rust-lang.org/stable/book/
[beta]: https://doc.rust-lang.org/beta/book/
[nightly]: https://doc.rust-lang.org/nightly/book/

Правила участия в переводе описаны в [этом документе](https://github.com/rust-lang-ru/book/blob/master/CONTRIBUTING.md).
See the [releases] to download just the code of all the code listings that appear in the book.

[releases]: https://github.com/rust-lang/book/releases

## Requirements

Building the book requires [mdBook], ideally the same version that
rust-lang/rust uses in [this file][rust-mdbook]. To get it:

[mdBook]: https://github.com/rust-lang/mdBook
[rust-mdbook]: https://github.com/rust-lang/rust/blob/master/src/tools/rustbook/Cargo.toml

```bash
$ cargo install mdbook --locked --version <version_num>
```

The book also uses two mdbook plugins which are part of this repository. If you
do not install them, you will see warnings when building and the output will not
look right, but you _will_ still be able to build the book. To use the plugins,
you should run:

```bash
$ cargo install --locked --path packages/mdbook-trpl --force
```

## Building

To build the book, type:

```bash
$ mdbook build
```

The output will be in the `book` subdirectory. To check it out, open it in
your web browser.

_Firefox:_

```bash
$ firefox book/index.html # Linux
$ open -a "Firefox" book/index.html # OS X
$ Start-Process "firefox.exe" .\book\index.html # Windows (PowerShell)
$ start firefox.exe .\book\index.html # Windows (Cmd)
```

_Chrome:_

```bash
$ google-chrome book/index.html # Linux
$ open -a "Google Chrome" book/index.html # OS X
$ Start-Process "chrome.exe" .\book\index.html # Windows (PowerShell)
$ start chrome.exe .\book\index.html # Windows (Cmd)
```

To run the tests:

```bash
$ cd packages/trpl
$ mdbook test --library-path packages/trpl/target/debug/deps
```

## Contributing

We'd love your help! Please see [CONTRIBUTING.md][contrib] to learn about the
kinds of contributions we're looking for.

[contrib]: https://github.com/rust-lang/book/blob/main/CONTRIBUTING.md

Because the book is [printed][nostarch], and because we want
to keep the online version of the book close to the print version when
possible, it may take longer than you're used to for us to address your issue
or pull request.

So far, we've been doing a larger revision to coincide with [Rust Editions](https://doc.rust-lang.org/edition-guide/). Between those larger
revisions, we will only be correcting errors. If your issue or pull request
isn't strictly fixing an error, it might sit until the next time that we're
working on a large revision: expect on the order of months or years. Thank you
for your patience!

### Translations

We'd love help translating the book! See the [Translations] label to join in
efforts that are currently in progress. Open a new issue to start working on
a new language! We're waiting on [mdbook support] for multiple languages
before we merge any in, but feel free to start!

[Translations]: https://github.com/rust-lang/book/issues?q=is%3Aopen+is%3Aissue+label%3ATranslations
[mdbook support]: https://github.com/rust-lang/mdBook/issues/5

## Spellchecking

To scan source files for spelling errors, you can use the `spellcheck.sh`
script available in the `ci` directory. It needs a dictionary of valid words,
which is provided in `ci/dictionary.txt`. If the script produces a false
positive (say, you used the word `BTreeMap` which the script considers invalid),
you need to add this word to `ci/dictionary.txt` (keep the sorted order for
consistency).
3 changes: 0 additions & 3 deletions rustbook-en/.cargo/config.toml

This file was deleted.

6 changes: 0 additions & 6 deletions rustbook-en/.gitattributes

This file was deleted.

17 changes: 0 additions & 17 deletions rustbook-en/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

7 changes: 0 additions & 7 deletions rustbook-en/.github/ISSUE_TEMPLATE/new_translation.md

This file was deleted.

99 changes: 0 additions & 99 deletions rustbook-en/.github/workflows/main.yml

This file was deleted.

8 changes: 0 additions & 8 deletions rustbook-en/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions rustbook-en/2018-edition/book.toml

This file was deleted.

33 changes: 0 additions & 33 deletions rustbook-en/2018-edition/ferris.css

This file was deleted.

Loading