Merge pull request #2567 from lightpanda-io/rust_drop_warning

Heed Rust warning and replace copy with ignore
This commit is contained in:
Karl Seguin
2026-05-29 08:02:49 +08:00
committed by GitHub

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),