aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_assists/src')
-rw-r--r--crates/ide_assists/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_assists/src/lib.rs b/crates/ide_assists/src/lib.rs
index 5a0047f03..723531078 100644
--- a/crates/ide_assists/src/lib.rs
+++ b/crates/ide_assists/src/lib.rs
@@ -28,7 +28,7 @@ pub(crate) use crate::assist_context::{AssistContext, Assists};
28 28
29pub use assist_config::AssistConfig; 29pub use assist_config::AssistConfig;
30 30
31#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 31#[derive(Debug, Clone, Copy, PartialEq, Eq)]
32pub enum AssistKind { 32pub enum AssistKind {
33 // FIXME: does the None variant make sense? Probably not. 33 // FIXME: does the None variant make sense? Probably not.
34 None, 34 None,
@@ -91,7 +91,7 @@ impl FromStr for AssistKind {
91 91
92/// Unique identifier of the assist, should not be shown to the user 92/// Unique identifier of the assist, should not be shown to the user
93/// directly. 93/// directly.
94#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 94#[derive(Debug, Clone, Copy, PartialEq, Eq)]
95pub struct AssistId(pub &'static str, pub AssistKind); 95pub struct AssistId(pub &'static str, pub AssistKind);
96 96
97/// A way to control how many asssist to resolve during the assist resolution. 97/// A way to control how many asssist to resolve during the assist resolution.