Skip to content

Commit 4bc87ed

Browse files
chore: cargo fmt
1 parent aff3f66 commit 4bc87ed

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

component-model/examples/tutorial/adder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mod bindings {
1212
path: "wit/adder/world.wit",
1313
});
1414

15-
// In the lines below we use the generated `export!()` macro re-use and
15+
// In the lines below we use the generated `export!()` macro re-use and
1616
use super::AdderComponent;
1717
export!(AdderComponent);
1818
}

component-model/examples/tutorial/calculator/src/bindings.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ macro_rules! __export_calculator_impl {
201201
#[doc(inline)]
202202
pub(crate) use __export_calculator_impl as export;
203203
#[cfg(target_arch = "wasm32")]
204-
#[unsafe(
205-
link_section = "component-type:wit-bindgen:0.41.0:docs:calculator@0.1.0:calculator:encoded world"
206-
)]
204+
#[unsafe(link_section = "component-type:wit-bindgen:0.41.0:docs:calculator@0.1.0:calculator:encoded world")]
207205
#[doc(hidden)]
208206
#[allow(clippy::octal_escapes)]
209207
pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 308] = *b"\

0 commit comments

Comments
 (0)