Skip to content

Commit a0164b7

Browse files
authored
Merge pull request #1268 from agaskell/make-parsing-a-string-editable
Make Parsing a String code editable
2 parents b217e82 + d763685 commit a0164b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversion/string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ trait is implemented for that type. This is implemented for numerous types
3838
within the standard library. To obtain this functionality on a user defined type
3939
simply implement the [`FromStr`] trait for that type.
4040

41-
```rust
41+
```rust,editable
4242
fn main() {
4343
let parsed: i32 = "5".parse().unwrap();
4444
let turbo_parsed = "10".parse::<i32>().unwrap();

0 commit comments

Comments
 (0)