diff options
author | mixio <[email protected]> | 2021-05-13 17:29:48 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-13 17:29:48 +0100 |
commit | 0cb54434556539430a74012c183d4d64b4709819 (patch) | |
tree | 2fd117a268b5391780e0b006bf66acc78a97be51 /crates/ide_assists | |
parent | 312f1fe20a6a0a8e69834c66f51b9abc9db5e0ce (diff) |
Corrected minor typo on line 20
Diffstat (limited to 'crates/ide_assists')
-rw-r--r-- | crates/ide_assists/src/handlers/replace_unwrap_with_match.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_assists/src/handlers/replace_unwrap_with_match.rs b/crates/ide_assists/src/handlers/replace_unwrap_with_match.rs index 0fec961b4..a3bfa221c 100644 --- a/crates/ide_assists/src/handlers/replace_unwrap_with_match.rs +++ b/crates/ide_assists/src/handlers/replace_unwrap_with_match.rs | |||
@@ -17,7 +17,7 @@ use ide_db::ty_filter::TryEnum; | |||
17 | 17 | ||
18 | // Assist: replace_unwrap_with_match | 18 | // Assist: replace_unwrap_with_match |
19 | // | 19 | // |
20 | // Replaces `unwrap` a `match` expression. Works for Result and Option. | 20 | // Replaces `unwrap` with a `match` expression. Works for Result and Option. |
21 | // | 21 | // |
22 | // ``` | 22 | // ``` |
23 | // enum Result<T, E> { Ok(T), Err(E) } | 23 | // enum Result<T, E> { Ok(T), Err(E) } |