update readme example
This commit is contained in:
parent
1bb9236f7b
commit
738b5b150f
@ -16,8 +16,8 @@ use rlua_searcher::{AddSearcher, Result};
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let lume = read_lume_to_string();
|
let lume = Cow::from(read_lume_to_string());
|
||||||
let name = "lume".to_string();
|
let name = Cow::from("lume");
|
||||||
let mut map = HashMap::new();
|
let mut map = HashMap::new();
|
||||||
map.insert(name, lume);
|
map.insert(name, lume);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user