From cfb48df149bfa8a15b113b1a252598457a4ea392 Mon Sep 17 00:00:00 2001 From: Steffen Lyngbaek Date: Tue, 10 Mar 2020 11:21:56 -0700 Subject: Address Issues from Github - Updated naming of config - Define struct in ra_ide and use remote derive in rust-analyzer/config - Make inlayConfig type more flexible to support more future types - Remove constructor only used in tests --- crates/ra_project_model/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates/ra_project_model/src') 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 { pub max_length: Option, } -impl InlayHintOptions { - pub fn new(max_length: Option) -> Self { - Self { display_type: InlayHintDisplayType::Full, max_length } - } -} - impl Default for InlayHintOptions { fn default() -> Self { Self { display_type: InlayHintDisplayType::Full, max_length: None } -- cgit v1.2.3