diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-29T15·46-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-08-03T16·41-0400 |
commit | 7138d9a0b627b64f31558f0f4820dec7e55fdee4 (patch) | |
tree | a6ea851cdd647cf4cd881dfa62f761b6fdf43cb8 /src/messages.rs | |
parent | 9db5fad2f900732d59f9714ac4517952d26506d7 (diff) |
Add clippy to circleCI and fix all lints
Diffstat (limited to 'src/messages.rs')
-rw-r--r-- | src/messages.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.rs b/src/messages.rs index 719389fa6136..b081389efc9d 100644 --- a/src/messages.rs +++ b/src/messages.rs @@ -35,7 +35,7 @@ impl<'a> NestedMap<'a> { fn lookup(&'a self, path: &str) -> Option<&'a Message<'a>> { use NestedMap::*; let leaf = - path.split(".") + path.split('.') .fold(Some(self), |current, key| match current { Some(Nested(m)) => m.get(key), _ => None, |