| commit | 7c06b86fdb6ed3519b8cbd2bbb5e01612c1f4764 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Nov 25 16:59:09 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Nov 25 16:59:17 2020 -0800 |
| tree | bdce74c782d30b3564fb0e79613e8d6977c8bd82 | |
| parent | 4b52066c72aed368db45905547e44f1190e7c118 [diff] [blame] |
Format with rustfmt 1.4.27-nightly
diff --git a/gen/src/write.rs b/gen/src/write.rs index 66d6351..5ee620a 100644 --- a/gen/src/write.rs +++ b/gen/src/write.rs
@@ -233,7 +233,11 @@ writeln!(out, "//{}", line); } out.builtin.opaque = true; - writeln!(out, "struct {} final : public ::rust::Opaque {{", ety.name.cxx); + writeln!( + out, + "struct {} final : public ::rust::Opaque {{", + ety.name.cxx, + ); for method in methods { write!(out, " "); let sig = &method.sig;