We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb578b6 commit d3236a8Copy full SHA for d3236a8
src/librustc_trans/time_graph.rs
@@ -70,7 +70,7 @@ impl TimeGraph {
70
{
71
let mut table = self.data.lock().unwrap();
72
73
- let mut data = table.entry(timeline).or_insert(PerThread {
+ let data = table.entry(timeline).or_insert(PerThread {
74
timings: Vec::new(),
75
open_work_package: None,
76
});
@@ -90,7 +90,7 @@ impl TimeGraph {
90
let end = Instant::now();
91
92
93
- let mut data = table.get_mut(&timeline).unwrap();
+ let data = table.get_mut(&timeline).unwrap();
94
95
if let Some((start, work_package_kind)) = data.open_work_package {
96
data.timings.push(Timing {
0 commit comments