Skip to content

Commit

Permalink
Remove useless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Rantanen committed Oct 5, 2019
1 parent b27089d commit dfc008f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/ich/impls_syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ fn stable_normalized_pos(np: ::syntax_pos::NormalizedPos,
diff
} = np;

(pos.0 - source_file_start.0, diff as u32)
(pos.0 - source_file_start.0, diff)
}


Expand Down

0 comments on commit dfc008f

Please sign in to comment.