chore: rustfmt 全量格式化——CI fmt check 差异清零

This commit is contained in:
2026-09-09 15:14:57 +08:00
parent 3cf6618ae7
commit 64f582d34b
20 changed files with 135 additions and 115 deletions
+1 -3
View File
@@ -183,9 +183,7 @@ pub fn set_native_size(obj: &JsObject) -> u64 {
if inner.is_null() {
return 0;
}
unsafe {
(std::mem::size_of::<SetInner>() + (*inner).capacity() * std::mem::size_of::<SetKey>()) as u64
}
unsafe { (std::mem::size_of::<SetInner>() + (*inner).capacity() * std::mem::size_of::<SetKey>()) as u64 }
}
/// 释放 Set 的 native 数据(IndexSet),返回释放的字节数供泄漏统计。