Skip to content

Commit d3236a8

Browse files
committed
Fixed another problem.
1 parent bb578b6 commit d3236a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_trans/time_graph.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl TimeGraph {
7070
{
7171
let mut table = self.data.lock().unwrap();
7272

73-
let mut data = table.entry(timeline).or_insert(PerThread {
73+
let data = table.entry(timeline).or_insert(PerThread {
7474
timings: Vec::new(),
7575
open_work_package: None,
7676
});
@@ -90,7 +90,7 @@ impl TimeGraph {
9090
let end = Instant::now();
9191

9292
let mut table = self.data.lock().unwrap();
93-
let mut data = table.get_mut(&timeline).unwrap();
93+
let data = table.get_mut(&timeline).unwrap();
9494

9595
if let Some((start, work_package_kind)) = data.open_work_package {
9696
data.timings.push(Timing {

0 commit comments

Comments
 (0)