This commit is contained in:
parent
5a3a743b70
commit
8990a07be4
@ -50,8 +50,10 @@ impl<'a, F: FnMut(String)> Linked<'a, F> {
|
||||
|
||||
let mut vec = vec![];
|
||||
|
||||
let s = "0".to_string();
|
||||
|
||||
let mut linked = Linked {
|
||||
node: Node { next: None, value: "0" },
|
||||
node: Node { next: None, value: &s },
|
||||
callback: &mut |value| vec.push(value),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user