Skip to content

Commit 6ca0384

Browse files
committed
Small style fixes
1 parent 67a8666 commit 6ca0384

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/librustc_mir/interpret/cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M> {
245245
bits: u128,
246246
fty: FloatTy,
247247
dest_ty: Ty<'tcx>
248-
) -> EvalResult<'tcx, Scalar> {
248+
) -> EvalResult<'tcx, Scalar> {
249249
use rustc::ty::TyKind::*;
250250
use rustc_apfloat::FloatConvert;
251251
match dest_ty.sty {

src/librustc_mir/interpret/eval_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl<'c, 'b, 'a, 'mir, 'tcx, M: Machine<'mir, 'tcx>> HasDataLayout
281281
}
282282

283283
impl<'a, 'mir, 'tcx, M> layout::HasTyCtxt<'tcx> for &'a EvalContext<'a, 'mir, 'tcx, M>
284-
where M: Machine<'mir, 'tcx>
284+
where M: Machine<'mir, 'tcx>
285285
{
286286
#[inline]
287287
fn tcx<'b>(&'b self) -> TyCtxt<'b, 'tcx, 'tcx> {

src/librustc_mir/interpret/memory.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ pub trait HasMemory<'a, 'mir, 'tcx: 'a + 'mir, M: Machine<'mir, 'tcx>> {
10271027
}
10281028

10291029
impl<'a, 'mir, 'tcx, M> HasMemory<'a, 'mir, 'tcx, M> for Memory<'a, 'mir, 'tcx, M>
1030-
where M: Machine<'mir, 'tcx>
1030+
where M: Machine<'mir, 'tcx>
10311031
{
10321032
#[inline]
10331033
fn memory_mut(&mut self) -> &mut Memory<'a, 'mir, 'tcx, M> {
@@ -1041,7 +1041,7 @@ where M: Machine<'mir, 'tcx>
10411041
}
10421042

10431043
impl<'a, 'mir, 'tcx, M> HasMemory<'a, 'mir, 'tcx, M> for EvalContext<'a, 'mir, 'tcx, M>
1044-
where M: Machine<'mir, 'tcx>
1044+
where M: Machine<'mir, 'tcx>
10451045
{
10461046
#[inline]
10471047
fn memory_mut(&mut self) -> &mut Memory<'a, 'mir, 'tcx, M> {
@@ -1055,7 +1055,7 @@ where M: Machine<'mir, 'tcx>
10551055
}
10561056

10571057
impl<'a, 'mir, 'tcx, M> layout::HasDataLayout for &'a Memory<'a, 'mir, 'tcx, M>
1058-
where M: Machine<'mir, 'tcx>
1058+
where M: Machine<'mir, 'tcx>
10591059
{
10601060
#[inline]
10611061
fn data_layout(&self) -> &TargetDataLayout {

0 commit comments

Comments
 (0)