Skip to content

Commit 7f2e557

Browse files
committed
fix: cargo fmt
1 parent 878fb29 commit 7f2e557

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,8 @@ impl App {
608608
match get(url).call() {
609609
Ok(mut res) => {
610610
let mut dst = File::create(Path::new("./encoded_rules.yml")).unwrap();
611-
dst.write_all(res.body_mut().read_to_string().unwrap().as_bytes()).unwrap();
611+
dst.write_all(res.body_mut().read_to_string().unwrap().as_bytes())
612+
.unwrap();
612613
write_color_buffer(
613614
&BufferWriter::stdout(ColorChoice::Always),
614615
get_writable_color(
@@ -631,7 +632,8 @@ impl App {
631632
Ok(mut res) => {
632633
let mut dst =
633634
File::create(Path::new("./rules_config_files.txt")).unwrap();
634-
dst.write_all(res.body_mut().read_to_string().unwrap().as_bytes()).unwrap();
635+
dst.write_all(res.body_mut().read_to_string().unwrap().as_bytes())
636+
.unwrap();
635637
write_color_buffer(
636638
&BufferWriter::stdout(ColorChoice::Always),
637639
get_writable_color(

0 commit comments

Comments
 (0)