Fallout of std::str stabilization
This commit is contained in:
parent
4908017d59
commit
082bfde412
193 changed files with 2143 additions and 2230 deletions
|
|
@ -3177,7 +3177,7 @@ Some examples of call expressions:
|
|||
# fn add(x: int, y: int) -> int { 0 }
|
||||
|
||||
let x: int = add(1, 2);
|
||||
let pi: Option<f32> = from_str("3.14");
|
||||
let pi: Option<f32> = "3.14".parse();
|
||||
```
|
||||
|
||||
### Lambda expressions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue