mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 11:11:11 +08:00
chore: rustfmt 全量格式化——CI fmt check 差异清零
This commit is contained in:
@@ -618,8 +618,8 @@ pub fn disposable_stack_native_size(obj: &JsObject) -> u64 {
|
||||
return 0;
|
||||
}
|
||||
unsafe {
|
||||
(std::mem::size_of::<DisposeCapability>()
|
||||
+ (*ptr).entries.capacity() * std::mem::size_of::<DisposeEntry>()) as u64
|
||||
(std::mem::size_of::<DisposeCapability>() + (*ptr).entries.capacity() * std::mem::size_of::<DisposeEntry>())
|
||||
as u64
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user