diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-13 17:31:42 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-13 17:31:42 +0100 |
commit | 38a53c29ea527d938c8d3922260d6b6e0a34183b (patch) | |
tree | 2fd117a268b5391780e0b006bf66acc78a97be51 /crates | |
parent | 312f1fe20a6a0a8e69834c66f51b9abc9db5e0ce (diff) | |
parent | 0cb54434556539430a74012c183d4d64b4709819 (diff) |
Merge #8825
8825: Corrected minor typo on line 20 r=lnicola a=mixio
Co-authored-by: mixio <[email protected]>
Diffstat (limited to 'crates')
-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) } |