Skip to content

Commit 9a21f6e

Browse files
committed
rustc_mir: Fix tidy line lengths
1 parent 756aa1e commit 9a21f6e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/librustc_mir/shim.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,11 @@ impl<'a, 'tcx> DropElaborator<'a, 'tcx> for DropShimElaborator<'a, 'tcx> {
322322
}
323323

324324
/// Builds a `Clone::clone` shim for `self_ty`. Here, `def_id` is `Clone::clone`.
325-
fn build_clone_shim<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId, self_ty: Ty<'tcx>) -> BodyAndCache<'tcx> {
325+
fn build_clone_shim<'tcx>(
326+
tcx: TyCtxt<'tcx>,
327+
def_id: DefId,
328+
self_ty: Ty<'tcx>,
329+
) -> BodyAndCache<'tcx> {
326330
debug!("build_clone_shim(def_id={:?})", def_id);
327331

328332
let param_env = tcx.param_env(def_id);

src/librustc_mir/util/def_use.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! Def-use analysis.
22
3-
use rustc::mir::{Body, BodyAndCache, Local, Location, PlaceElem, ReadOnlyBodyAndCache, VarDebugInfo};
3+
use rustc::mir::{
4+
Body, BodyAndCache, Local, Location, PlaceElem, ReadOnlyBodyAndCache, VarDebugInfo,
5+
};
46
use rustc::mir::visit::{PlaceContext, MutVisitor, Visitor};
57
use rustc::ty::TyCtxt;
68
use rustc_index::vec::IndexVec;

0 commit comments

Comments
 (0)