Skip to content

Commit 26fdca7

Browse files
jasiszclaude
andcommitted
0.16.3 step 2: rustfmt fix
CI Format step rejected the multi-line `caller_fn_collector` let- binding and a stray blank line in `types.rs`. Auto-applied `cargo fmt --all`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent df911fd commit 26fdca7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/codegen/wasm_gc/module.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ pub(super) fn emit_module(
4848
// post-emit phase reads `collector.names` to materialise the
4949
// exported caller-fn name table (`__caller_fn_count` +
5050
// `__caller_fn_name`) and the matching passive data segments.
51-
let caller_fn_collector =
52-
std::cell::RefCell::new(super::body::CallerFnCollector::default());
51+
let caller_fn_collector = std::cell::RefCell::new(super::body::CallerFnCollector::default());
5352

5453
let fn_defs: Vec<&FnDef> = items
5554
.iter()

src/codegen/wasm_gc/types.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,6 @@ fn fn_body_calls_int_mod(fd: &crate::ast::FnDef) -> bool {
20032003
})
20042004
}
20052005

2006-
20072006
fn collect_string_literals_in_fn(
20082007
fd: &crate::ast::FnDef,
20092008
out: &mut Vec<Vec<u8>>,

0 commit comments

Comments
 (0)