Skip to content

Commit c75710a

Browse files
committed
style: Make clippy happy
1 parent 399b20d commit c75710a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/report.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use backtrace::Backtrace;
77
use serde_derive::Serialize;
88
use std::error::Error;
99
use std::fmt::Write as FmtWrite;
10-
use std::mem;
1110
use std::{env, fs::File, io::Write, path::Path, path::PathBuf};
1211
use uuid::Uuid;
1312

@@ -51,7 +50,7 @@ impl Report {
5150
const SKIP_FRAMES_NUM: usize = 8;
5251
//We take padding for address and extra two letters
5352
//to pad after index.
54-
const HEX_WIDTH: usize = mem::size_of::<usize>() + 2;
53+
const HEX_WIDTH: usize = size_of::<usize>() + 2;
5554
//Padding for next lines after frame's address
5655
const NEXT_SYMBOL_PADDING: usize = HEX_WIDTH + 6;
5756

0 commit comments

Comments
 (0)