Skip to content

Commit

Permalink
Fix xcp-metrics-test
Browse files Browse the repository at this point in the history
  • Loading branch information
TSnake41 committed Aug 22, 2023
1 parent d704f69 commit 62f0fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcp-metrics-test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ fn main() {
],
};

let mut xml = String::new();
let mut xml = vec![];
rrd.write_xml(&mut xml).unwrap();

println!("{xml}");
println!("{}", String::from_utf8(xml).unwrap());
}

0 comments on commit 62f0fd2

Please sign in to comment.