Heed Rust warning and replace copy with ignore

This commit is contained in:
Karl Seguin
2026-05-28 16:48:27 +08:00
parent a2b3626495
commit 0b4ba17236

View File

@@ -565,7 +565,7 @@ pub extern "C" fn html5ever_get_memory_usage() -> Memory {
use tikv_jemalloc_ctl::{epoch, stats};
// many statistics are cached and only updated when the epoch is advanced.
drop(epoch::advance());
let _ = epoch::advance();
Memory {
resident: stats::resident::read().unwrap_or(0),