rustfmt-snippet 0.1.0

Format given Rust code snippet with rustfmt
Documentation

Format given Rust code snippet with rustfmt

#Example

let formated = rustfmt_snippet::rustfmt(
r#"fn main() {
}"#,
)
.unwrap();
assert_eq!(formated, "fn main() {}\n");