Skip to content

Commit bb1de9f

Browse files
committed
fmt
1 parent ddfcb6b commit bb1de9f

File tree

3 files changed

+3
-4
lines changed
  • compiler

3 files changed

+3
-4
lines changed

compiler/rustc_data_structures/src/fx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::hash::BuildHasherDefault;
22

3-
pub use rustc_hash::{FxHashMap, FxHashSet, FxHasher, FxBuildHasher};
3+
pub use rustc_hash::{FxBuildHasher, FxHashMap, FxHashSet, FxHasher};
44

55
pub type StdEntry<'a, K, V> = std::collections::hash_map::Entry<'a, K, V>;
66

compiler/rustc_mir_dataflow/src/framework/fmt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ impl<C> DebugWithContext<C> for u32 {}
256256

257257
// impl<'tcx, C> DebugWithContext<C> for crate::move_paths::SparseMovePathIndex
258258
// where
259-
// C: crate::move_paths::HasMoveData<'tcx> +
259+
// C: crate::move_paths::HasMoveData<'tcx> +
260260
// C: crate::impls::MovePathIndexMapper
261261
// {
262262
// fn fmt_with(&self, ctxt: &C, f: &mut fmt::Formatter<'_>) -> fmt::Result {
263-
// let
263+
// let
264264
// write!(f, "{}", ctxt.move_data().move_paths[*self])
265265
// }
266266
// }

compiler/rustc_mir_dataflow/src/move_paths/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ rustc_index::newtype_index! {
4242
pub struct SparseMovePathIndex {}
4343
}
4444

45-
4645
rustc_index::newtype_index! {
4746
#[orderable]
4847
#[debug_format = "mo{}"]

0 commit comments

Comments
 (0)