Format given Rust code snippet with rustfmt
#Example
let formated = rustfmt
.unwrap;
assert_eq!;
Format given Rust code snippet with rustfmt
#Example
let formated = rustfmt_snippet::rustfmt(
r#"fn main() {
}"#,
)
.unwrap();
assert_eq!(formated, "fn main() {}\n");