Skip to content

Commit

Permalink
Remove a trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxiangfei2009 committed Jul 31, 2020
1 parent 3b2642f commit db07174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/transform/promote_consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ impl<'tcx> Validator<'_, 'tcx> {
// The reason is because promotion will be illegal if field
// accesses preceed the dereferencing.
// Discussion can be found at
// https://github.com/rust-lang/rust/pull/74945#discussion_r463063247
// https://github.com/rust-lang/rust/pull/74945#discussion_r463063247
// There may be opportunity for generalization, but this needs to be
// accounted for.
if proj_base.is_empty() && !self.tcx.is_thread_local_static(did) {
Expand Down

0 comments on commit db07174

Please sign in to comment.