From a9623f3165f87124de836e81e238118e557bb9e9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 18 Jun 2021 23:38:19 +0300 Subject: minor: use minicore --- crates/ide_assists/src/handlers/fill_match_arms.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'crates/ide_assists/src/handlers') diff --git a/crates/ide_assists/src/handlers/fill_match_arms.rs b/crates/ide_assists/src/handlers/fill_match_arms.rs index cd0f6dba9..318faa0fc 100644 --- a/crates/ide_assists/src/handlers/fill_match_arms.rs +++ b/crates/ide_assists/src/handlers/fill_match_arms.rs @@ -481,26 +481,21 @@ fn main() { check_assist( fill_match_arms, r#" -enum Option { Some(T), None } -use Option::*; - +//- minicore: option fn main() { match None$0 { None => {} } } - "#, +"#, r#" -enum Option { Some(T), None } -use Option::*; - fn main() { match None { None => {} Some(${0:_}) => todo!(), } } - "#, +"#, ); } -- cgit v1.2.3