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.
1 parent e110c78 commit 72d5b45Copy full SHA for 72d5b45
crates/ide-assists/src/handlers/convert_match_to_let_else.rs
@@ -14,6 +14,7 @@ use crate::{
14
// Converts let statement with match initializer to let-else statement.
15
//
16
// ```
17
+// # //- minicore: option
18
// fn foo(opt: Option<()>) {
19
// let val = $0match opt {
20
// Some(it) => it,
crates/ide-assists/src/tests/generated.rs
@@ -412,6 +412,7 @@ fn doctest_convert_match_to_let_else() {
412
check_doc_test(
413
"convert_match_to_let_else",
414
r#####"
415
+//- minicore: option
416
fn foo(opt: Option<()>) {
417
let val = $0match opt {
418
Some(it) => it,
0 commit comments