about summary refs log tree commit diff
path: root/src/messages.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages.rs')
-rw-r--r--src/messages.rs2
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,