Skip to content

Instantly share code, notes, and snippets.

@shadoi
Created August 18, 2015 20:14
Show Gist options
  • Save shadoi/9954afc5d0558b62bb38 to your computer and use it in GitHub Desktop.
Save shadoi/9954afc5d0558b62bb38 to your computer and use it in GitHub Desktop.
main.rs:18:5: 18:13 error: cannot move out of `yaml_str` because it is borrowed
main.rs:18 yaml_str
^~~~~~~~
main.rs:16:45: 16:53 note: borrow of `yaml_str` occurs here
main.rs:16 let mut emitter = YamlEmitter::new(&mut yaml_str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment