Skip to content

Commit de3e70e

Browse files
authored
Update meminterval, tiny clippy (#3384)
1 parent 85e59c4 commit de3e70e

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ just = "=1.40.0"
108108
libc = "0.2.159" # For (*nix) libc
109109
libipt = "0.3.0"
110110
log = "0.4.22"
111-
meminterval = "0.4.1"
111+
meminterval = "0.4.2"
112112
mimalloc = { version = "0.1.43", default-features = false }
113113
nix = { version = "0.30.1", default-features = false }
114114
num_enum = { version = "0.7.3", default-features = false }

crates/libafl_cc/src/ar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl ToolWrapper for ArWrapper {
166166
.map(|r| {
167167
let arg_as_path = PathBuf::from(r);
168168
if r.ends_with('.') {
169-
r.to_string()
169+
r.clone()
170170
} else {
171171
if let Some(extension) = arg_as_path.extension() {
172172
let extension = extension.to_str().unwrap();

crates/libafl_cc/src/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ where
197197
for (func_name, entry_bb) in &self.func_to_entry_bb {
198198
entry_bb_locs.push(*entry_bb);
199199
let mut entry = EntryBasicBlockInfo {
200-
calling_func: func_name.to_string(),
200+
calling_func: func_name.clone(),
201201
node_loc: *entry_bb,
202202
successor_edges: vec![],
203203
};

crates/libafl_cc/src/clang.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl ToolWrapper for ClangWrapper {
331331
.map(|r| {
332332
let arg_as_path = PathBuf::from(r);
333333
if r.ends_with('.') {
334-
r.to_string()
334+
r.clone()
335335
} else {
336336
if let Some(extension) = arg_as_path.extension() {
337337
let extension = extension.to_str().unwrap();

crates/libafl_cc/src/libtool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl ToolWrapper for LibtoolWrapper {
172172
.map(|r| {
173173
let arg_as_path = PathBuf::from(r);
174174
if r.ends_with('.') {
175-
r.to_string()
175+
r.clone()
176176
} else {
177177
if let Some(extension) = arg_as_path.extension() {
178178
let extension = extension.to_str().unwrap();

0 commit comments

Comments
 (0)