mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
Merge pull request #2567 from lightpanda-io/rust_drop_warning
Heed Rust warning and replace copy with ignore
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user