aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_project_model/src')
-rw-r--r--crates/ra_project_model/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index a5012c0ef..036c8719f 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -41,12 +41,6 @@ pub struct InlayHintOptions {
41 pub max_length: Option<usize>, 41 pub max_length: Option<usize>,
42} 42}
43 43
44impl InlayHintOptions {
45 pub fn new(max_length: Option<usize>) -> Self {
46 Self { display_type: InlayHintDisplayType::Full, max_length }
47 }
48}
49
50impl Default for InlayHintOptions { 44impl Default for InlayHintOptions {
51 fn default() -> Self { 45 fn default() -> Self {
52 Self { display_type: InlayHintDisplayType::Full, max_length: None } 46 Self { display_type: InlayHintDisplayType::Full, max_length: None }