mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-09 08:51:18 +08:00
update ch14-02 close #460
This commit is contained in:
parent
da7344e206
commit
bbd7c41391
@ -16,7 +16,7 @@ Rust 和 Cargo 有一些帮助它人更方便找到和使用你发布的包的
|
||||
<span class="filename">文件名: src/lib.rs</span>
|
||||
|
||||
````rust,ignore
|
||||
/// 将给定的数字加一
|
||||
/// Adds one to the number given.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -77,10 +77,10 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
|
||||
```rust,ignore
|
||||
//! # My Crate
|
||||
//!
|
||||
//! `my_crate` 是一个使得特定计算更方便的
|
||||
//! 工具集合
|
||||
//! `my_crate` is a collection of utilities to make performing certain
|
||||
//! calculations more convenient.
|
||||
|
||||
/// 将给定的数字加一。
|
||||
/// Adds one to the number given.
|
||||
// --snip--
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user