diff options
Diffstat (limited to 'crates/ra_db/src/input.rs')
-rw-r--r-- | crates/ra_db/src/input.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs index eafa95921..7c8dac1d3 100644 --- a/crates/ra_db/src/input.rs +++ b/crates/ra_db/src/input.rs | |||
@@ -97,6 +97,7 @@ pub enum Edition { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | impl Edition { | 99 | impl Edition { |
100 | //FIXME: replace with FromStr with proper error handling | ||
100 | pub fn from_string(s: &str) -> Edition { | 101 | pub fn from_string(s: &str) -> Edition { |
101 | match s { | 102 | match s { |
102 | "2015" => Edition::Edition2015, | 103 | "2015" => Edition::Edition2015, |