diff options
author | Aleksey Kladov <[email protected]> | 2020-05-20 10:10:15 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-05-20 10:10:15 +0100 |
commit | 33e111483fbc80c017037e0b158ee652ed41b3e8 (patch) | |
tree | 54724a3d13ab1ba2abb7ddbae41736f4faade267 /docs/user | |
parent | d790a443f396ad53037a3f6ba794b6f4df5b3748 (diff) |
Use snippets in change_return_type_to_result
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/assists.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 03c01d6c0..006ec4d54 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -268,7 +268,7 @@ Change the function's return type to Result. | |||
268 | fn foo() -> i32┃ { 42i32 } | 268 | fn foo() -> i32┃ { 42i32 } |
269 | 269 | ||
270 | // AFTER | 270 | // AFTER |
271 | fn foo() -> Result<i32, > { Ok(42i32) } | 271 | fn foo() -> Result<i32, ${0:_}> { Ok(42i32) } |
272 | ``` | 272 | ``` |
273 | 273 | ||
274 | ## `change_visibility` | 274 | ## `change_visibility` |