diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2020-07-22 22:44:31 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2020-07-22 22:44:31 +0200 |
| commit | 29d3d04227d52c3e81e8c87ab4913b77d29fce28 (patch) | |
| tree | fbecd17aa54beebb9291c156d110ffbc70d9f68c /docs/dev/debugging.md | |
| parent | 56ff9ef0262f5bad7fa1d0ac3b76974d88671afd (diff) | |
| download | rust-29d3d04227d52c3e81e8c87ab4913b77d29fce28.tar.gz rust-29d3d04227d52c3e81e8c87ab4913b77d29fce28.zip | |
assists: change_return_type_to_result: clarify assist description
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 deep Option-to-Result refactoring.
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions
