Skip to content

Commit

Permalink
example editable (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhx6538665 authored Jan 30, 2023
1 parent cffc7ad commit 01af1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversion/string.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn main() {
标准库中已经给无数种类型实现了 `FromStr`。如果要转换到用户定义类型,只要手动实现
`FromStr` 就行。

```rust
```rust,editable
fn main() {
let parsed: i32 = "5".parse().unwrap();
let turbo_parsed = "10".parse::<i32>().unwrap();
Expand Down

0 comments on commit 01af1e4

Please sign in to comment.