diff --git a/README.md b/README.md index b3d49c5..3ce2ec7 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ use rlua_searcher::{AddSearcher, Result}; use std::collections::HashMap; fn main() { - let lume = read_lume_to_string(); - let name = "lume".to_string(); + let lume = Cow::from(read_lume_to_string()); + let name = Cow::from("lume"); let mut map = HashMap::new(); map.insert(name, lume);