From d4b6cbe5b6b9c90b577da7788669b6b6995ae524 Mon Sep 17 00:00:00 2001 From: Domantas Jadenkus Date: Mon, 15 Feb 2021 23:28:57 +0200 Subject: [PATCH] rename generate_enum_match_method file to match assist name --- ...nerate_enum_match_method.rs => generate_enum_is_method.rs} | 0 crates/ide_assists/src/lib.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename crates/ide_assists/src/handlers/{generate_enum_match_method.rs => generate_enum_is_method.rs} (100%) diff --git a/crates/ide_assists/src/handlers/generate_enum_match_method.rs b/crates/ide_assists/src/handlers/generate_enum_is_method.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_enum_match_method.rs rename to crates/ide_assists/src/handlers/generate_enum_is_method.rs diff --git a/crates/ide_assists/src/lib.rs b/crates/ide_assists/src/lib.rs index 4a7cd58486a..c5137df9687 100644 --- a/crates/ide_assists/src/lib.rs +++ b/crates/ide_assists/src/lib.rs @@ -128,7 +128,7 @@ mod handlers { mod flip_trait_bound; mod generate_default_from_enum_variant; mod generate_derive; - mod generate_enum_match_method; + mod generate_enum_is_method; mod generate_enum_projection_method; mod generate_from_impl_for_enum; mod generate_function; @@ -190,7 +190,7 @@ pub(crate) fn all() -> &'static [Handler] { flip_trait_bound::flip_trait_bound, generate_default_from_enum_variant::generate_default_from_enum_variant, generate_derive::generate_derive, - generate_enum_match_method::generate_enum_is_method, + generate_enum_is_method::generate_enum_is_method, generate_enum_projection_method::generate_enum_into_method, generate_enum_projection_method::generate_enum_as_method, generate_from_impl_for_enum::generate_from_impl_for_enum,