From b8ddcb0652f3ec8683023afc1e1f5166d6a712f4 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 18 Feb 2020 14:53:02 +0200 Subject: Run cargo +nightly fix --clippy -Z unstable-options --- crates/ra_prof/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_prof/src') diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index c267bc85f..660d85b42 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs @@ -214,7 +214,7 @@ impl Drop for Profiler { let start = stack.starts.pop().unwrap(); let duration = start.elapsed(); let level = stack.starts.len(); - stack.messages.push(Message { level, duration, label: label }); + stack.messages.push(Message { level, duration, label }); if level == 0 { let stdout = stderr(); let longer_than = stack.filter_data.longer_than; -- cgit v1.2.3