Skip to content

Zacama/rust-by-example-cn

 
 

Repository files navigation

通过例子学 Rust

Build Status LICENSE-MIT LICENSE-APACHE GitHub last commit GitHub contributors Locatized 100% rustwiki.org

Chinese translation of the Rust By Example

  • 本文档按照 Rust 文档翻译指引规范进行翻译。
  • 首次于 2016-08-07 翻译完全部内容,欢迎纠正——最后更新时间 2022-01-26。

通过例子学 Rust,Rust By Example 中文版(包含在线代码编辑器)。

使用说明

如果想阅读《通过例子学 Rust》,可以直接访问 https://rustwiki.org/zh-CN/rust-by-example/ 进行在线上阅读(支持同一页面中英双语切换)。(英文阅读地址:https://doc.rust-lang.org/rust-by-example/

若想在本地阅读,请先安装 Rust,然后进行下面操作:

$ git clone https://github.com/rust-lang-cn/rust-by-example-cn
$ cd rust-by-example-cn
$ cargo install mdbook
$ mdbook build
$ mdbook serve

为了能够运行这些示例,你必须要连接到网络;当然你可以离线阅读所有这些内容。

如何贡献

请查看 CONTRIBUTING.md 文件了解详细内容。

其他语言版本

授权协议

《通过例子学 Rust》(中文版与英文版 Rust By Example 均) 使用以下两种协议的任一种进行授权:

可以根据自己选择来定。

除非您有另外说明,否则您在本仓库提交的任何贡献均按上述方式进行双重许可授权,就如 Apache 2.0 协议所规定那样,而无需附加任何其他条款或条件。

About

Rust By Example 中文版(包含在线代码编辑器)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.9%
  • Shell 18.1%