mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Fix typo
From add_tow to add_two
This commit is contained in:
@ -131,7 +131,7 @@ Then run `cargo doc --open` and see the results.
|
|||||||
|
|
||||||
|
|
||||||
### Doc tests
|
### Doc tests
|
||||||
The doc comments of `add_one` and `add_tow` contain two example code blocks.
|
The doc comments of `add_one` and `add_two` contain two example code blocks.
|
||||||
|
|
||||||
The examples can not only demonstrate how to use your library, but also running as test with `cargo test` command.
|
The examples can not only demonstrate how to use your library, but also running as test with `cargo test` command.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user