format code in md

This commit is contained in:
likzn
2022-05-01 13:08:50 +08:00
parent dad4052485
commit e09080f88a
43 changed files with 405 additions and 124 deletions

View File

@ -1,4 +1,5 @@
1
```rust
use std::fmt;
@ -23,6 +24,7 @@ fn main() {
```
2.
```rust
// To use `from_str` method, you needs to introduce this trait into the current scope.
use std::str::FromStr;
@ -38,6 +40,7 @@ fn main() {
```
3.
```rust
use std::str::FromStr;
use std::num::ParseIntError;