Skip to content

Commit df2365e

Browse files
committed
Fix: Remove allow(dead_code)
And remove the dead code bit. Signed-off-by: Matthias Beyer <[email protected]>
1 parent d74cf22 commit df2365e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/de.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ impl<'de> de::Deserializer<'de> for Value {
141141

142142
struct StrDeserializer<'a>(&'a str);
143143

144-
impl<'a> StrDeserializer<'a> {
145-
fn new(key: &'a str) -> Self {
146-
StrDeserializer(key)
147-
}
148-
}
149-
150144
impl<'de, 'a> de::Deserializer<'de> for StrDeserializer<'a> {
151145
type Error = ConfigError;
152146

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
//!
1818
//! See the [examples](https://github.com/mehcode/config-rs/tree/master/examples) for
1919
//! general usage information.
20-
#![allow(dead_code)]
2120
#![allow(unused_imports)]
2221
#![allow(unused_variables)]
2322
#![allow(unknown_lints)]

0 commit comments

Comments
 (0)