We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Return
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust-analyzer version: rust-analyzer version: 0.4.1462-standalone (e871540 2023-04-04)
rustc version: rustc 1.70.0-nightly (0599b6b93 2023-04-01)
fn foo() -> Result<Vec<i8>, ()> { Ok(vec![1, 2, 3]) }
After applying "unwrap Result return type":
fn foo() -> Vec<i8 { vec![1, 2, 3] }
The text was updated successfully, but these errors were encountered:
unwrap_result_return_type
237ffa3
Successfully merging a pull request may close this issue.
rust-analyzer version: rust-analyzer version: 0.4.1462-standalone (e871540 2023-04-04)
rustc version: rustc 1.70.0-nightly (0599b6b93 2023-04-01)
Example:
After applying "unwrap Result return type":
The text was updated successfully, but these errors were encountered: