kernel/builtins/test262: 本批新码 clippy 三则 + fmt 归净——obfuscated_if_else(source_escape_to_key 值域判定改 if/else)、needless_range_loop(decode_uri_units 保留字符原样段改 extend_from_slice)、needless_borrows_for_generic_args(844f2f4 rename 调用两处冗余借用);fmt 漂移(compiler.rs/vm.rs 构造体折行)一并归净。七 crate clippy 零告警、fmt --check 净、七 crate 2879/1(唯一失败 compile_class_declaration 既有)、release 子集 8/8 + 2/2 终验

This commit is contained in:
2026-09-14 08:18:38 +00:00
parent eb6bc412d9
commit 68d2974eb5
5 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -1257,7 +1257,7 @@ fn supervise_window(
let _ = std::fs::remove_file(format!("{}.tmp", hb_path.display()));
// 旁路失败行归档而非删除:统计已由心跳合并入父进程,此文件是收尾逐文件
// 差分的终态依据(删除即永久丢记录)。
let _ = std::fs::rename(&hb_path.with_extension("fails"), &hb_path.with_extension("fails.done"));
let _ = std::fs::rename(hb_path.with_extension("fails"), hb_path.with_extension("fails.done"));
stats
}