aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/diagnostics.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-23 13:48:08 +0100
committerGitHub <[email protected]>2020-07-23 13:48:08 +0100
commitbb4cb71f8046b9fb3f48adafb79fcdd3fa820b51 (patch)
treecbdda3b662a6807ece8acef4cdead1e208f5e98b /crates/ra_ide/src/diagnostics.rs
parent85532e2df3f713f0fb9096328e86ec7e74934c12 (diff)
parent29d3d04227d52c3e81e8c87ab4913b77d29fce28 (diff)
Merge #5498
5498: assists: change_return_type_to_result: clarify assist description r=matklad a=matthiaskrgr I had a -> Option<PathBuf> fn, which I wanted to change to Result<PathBuf, _>, but despite advertising to do so, the assist did not change the result type to Result<PathBuf, _> but instead just wrapped it in a Result: <Result<Option<PathBuf>, _>. I changed the assist description to "Wrap return type in Result" to clarify that the assist only wraps the preexisting type and does not do any actual Option-to-Result refactoring. Co-authored-by: Matthias Krüger <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions