Skip to content

Commit 738248c

Browse files
committed
Fix typo (#61)
1 parent ea86d74 commit 738248c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/docs/e5.error_and_none_propagation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fn function_with_error() -> Result<u64, String> {
8181

8282
```rust
8383
// using `?`
84-
let x = function_with_error()?; // if Err, returns immidiately; if Ok(255), set x to 255
84+
let x = function_with_error()?; // if Err, returns immediately; if Ok(255), set x to 255
8585

8686
// using `try!()`
8787
let x = try!(function_with_error());

0 commit comments

Comments
 (0)