From c75710ae6da679143c41170d0d395ab660220020 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 26 Jul 2024 15:14:57 -0500 Subject: [PATCH] style: Make clippy happy --- src/report.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/report.rs b/src/report.rs index f1a4e63..2c3e38a 100644 --- a/src/report.rs +++ b/src/report.rs @@ -7,7 +7,6 @@ use backtrace::Backtrace; use serde_derive::Serialize; use std::error::Error; use std::fmt::Write as FmtWrite; -use std::mem; use std::{env, fs::File, io::Write, path::Path, path::PathBuf}; use uuid::Uuid; @@ -51,7 +50,7 @@ impl Report { const SKIP_FRAMES_NUM: usize = 8; //We take padding for address and extra two letters //to pad after index. - const HEX_WIDTH: usize = mem::size_of::() + 2; + const HEX_WIDTH: usize = size_of::() + 2; //Padding for next lines after frame's address const NEXT_SYMBOL_PADDING: usize = HEX_WIDTH + 6;