We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f2e557 commit e4e3ec1Copy full SHA for e4e3ec1
src/main.rs
@@ -608,7 +608,7 @@ impl App {
608
match get(url).call() {
609
Ok(mut res) => {
610
let mut dst = File::create(Path::new("./encoded_rules.yml")).unwrap();
611
- dst.write_all(res.body_mut().read_to_string().unwrap().as_bytes())
+ dst.write_all(res.body_mut().read_to_vec().unwrap().as_bytes())
612
.unwrap();
613
write_color_buffer(
614
&BufferWriter::stdout(ColorChoice::Always),
0 commit comments