Run cargo fmt over all code

This commit is contained in:
Alex Crichton
2019-08-12 11:28:37 -07:00
parent 3697fb7205
commit 1d0c333a2b
9 changed files with 21 additions and 25 deletions

View File

@ -148,7 +148,10 @@ impl<'a, 'b> Outgoing<'a, 'b> {
self.cx.expose_get_cached_string_from_wasm()?;
self.js.prelude(&format!("const v{} = getCachedStringFromWasm({}, {});", tmp, ptr, len));
self.js.prelude(&format!(
"const v{} = getCachedStringFromWasm({}, {});",
tmp, ptr, len
));
if *owned {
self.prelude_free_cached_string(&ptr, &len)?;