The Rust
standard library localization documents are released by wtklbm
. The localization documents now support 104 languages. These localization documents are automatically processed by the Cmtor
program based on Google Translate. Please do not submit any PR to the localization documents in this warehouse.
Rust
Localized documents can be used as smart tips for IDE
tools to help Rust
developers quickly understand Rust API
and improve the development efficiency and code quality of Rust
engineers.
All the documents in this warehouse are automatically completed based on Google Translate. If you want to use the localized documents in this warehouse, you need to know what the code of your country is. For example, friends in China can download zh-CN.zip
or zh-TW.zip
, South Korea Friends in Japan can download ko.zip
, friends in Japan can download ja.zip
, friends in Germany can download de.zip
, and friends in Russia can download ru.zip
.
For details, see:https://cloud.google.com/translate/docs/languages
Please note that all localized documents in this warehouse correspond to the Rust v1.51.0 version, please do not use this localized document for other versions.
Rust version number:
rustc 1.51.0 (2fd73fabe 2021-03-23)
If you are just starting to use Rust, after Rust is successfully installed, you should also install rust-src
through the rustup component add rust-src
command. After installing rust-src
, please follow the steps below:
- First get the value of the system environment variable
CAROG_HOME
, this value is a file path - Under the
CARGO_HOME
folder, find a folder named.rustup
, and under the folder there is a folder namedtoolchains
- In the
toolchains
folder, find the Rust version you are currently using and open it, for example,stable-x86_64-pc-windows-msvc
on Windows - Then open the
lib/rustlib/src/rust
directory, the folder under this directory is where the source code of the Rust standard library is located - Save a copy of everything in the
lib/rustlib/src/rust/library
folder - Download the localized document source file corresponding to this warehouse, rename it to
library
and place it under thelib/rustlib/src/rust
folder - Restart the
IDE
tool, and the smart prompt of the localized document starts to work - Happy coding!
I am a full-stack developer who loves front-end and Rust. If you have any questions about localization, please feel free to contact me.
MIT OR Apache-2.0