Skip to content

Commit deba389

Browse files
author
penpalperson
committed
Changed back inline markings.
1 parent 81e4959 commit deba389

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

src/libcore/array.rs

-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ macro_rules! array_impls {
185185

186186
#[stable(feature = "rust1", since = "1.0.0")]
187187
impl<T: fmt::Debug> fmt::Debug for [T; $N] {
188-
#[inline]
189188
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
190189
fmt::Debug::fmt(&&self[..], f)
191190
}

src/libcore/fmt/float.rs

-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ macro_rules! floating {
125125
($ty:ident) => (
126126
#[stable(feature = "rust1", since = "1.0.0")]
127127
impl Debug for $ty {
128-
#[inline]
129128
fn fmt(&self, fmt: &mut Formatter) -> Result {
130129
float_to_decimal_common(fmt, self, true, 1)
131130
}

src/libcore/fmt/mod.rs

-8
Original file line numberDiff line numberDiff line change
@@ -1558,12 +1558,10 @@ macro_rules! fmt_refs {
15581558
$(
15591559
#[stable(feature = "rust1", since = "1.0.0")]
15601560
impl<'a, T: ?Sized + $tr> $tr for &'a T {
1561-
#[inline]
15621561
fn fmt(&self, f: &mut Formatter) -> Result { $tr::fmt(&**self, f) }
15631562
}
15641563
#[stable(feature = "rust1", since = "1.0.0")]
15651564
impl<'a, T: ?Sized + $tr> $tr for &'a mut T {
1566-
#[inline]
15671565
fn fmt(&self, f: &mut Formatter) -> Result { $tr::fmt(&**self, f) }
15681566
}
15691567
)*
@@ -1603,7 +1601,6 @@ impl Display for bool {
16031601

16041602
#[stable(feature = "rust1", since = "1.0.0")]
16051603
impl Debug for str {
1606-
#[inline]
16071604
fn fmt(&self, f: &mut Formatter) -> Result {
16081605
f.write_char('"')?;
16091606
let mut from = 0;
@@ -1632,7 +1629,6 @@ impl Display for str {
16321629

16331630
#[stable(feature = "rust1", since = "1.0.0")]
16341631
impl Debug for char {
1635-
#[inline]
16361632
fn fmt(&self, f: &mut Formatter) -> Result {
16371633
f.write_char('\'')?;
16381634
for c in self.escape_debug() {
@@ -1706,12 +1702,10 @@ impl<'a, T: ?Sized> Pointer for &'a mut T {
17061702

17071703
#[stable(feature = "rust1", since = "1.0.0")]
17081704
impl<T: ?Sized> Debug for *const T {
1709-
#[inline]
17101705
fn fmt(&self, f: &mut Formatter) -> Result { Pointer::fmt(self, f) }
17111706
}
17121707
#[stable(feature = "rust1", since = "1.0.0")]
17131708
impl<T: ?Sized> Debug for *mut T {
1714-
#[inline]
17151709
fn fmt(&self, f: &mut Formatter) -> Result { Pointer::fmt(self, f) }
17161710
}
17171711

@@ -1725,7 +1719,6 @@ macro_rules! tuple {
17251719
#[stable(feature = "rust1", since = "1.0.0")]
17261720
impl<$($name:Debug),*> Debug for ($($name,)*) where last_type!($($name,)+): ?Sized {
17271721
#[allow(non_snake_case, unused_assignments, deprecated)]
1728-
#[inline]
17291722
fn fmt(&self, f: &mut Formatter) -> Result {
17301723
let mut builder = f.debug_tuple("");
17311724
let ($(ref $name,)*) = *self;
@@ -1749,7 +1742,6 @@ tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, }
17491742

17501743
#[stable(feature = "rust1", since = "1.0.0")]
17511744
impl<T: Debug> Debug for [T] {
1752-
#[inline]
17531745
fn fmt(&self, f: &mut Formatter) -> Result {
17541746
f.debug_list().entries(self.iter()).finish()
17551747
}

src/libcore/ptr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,6 @@ macro_rules! fnptr_impls_safety_abi {
22022202

22032203
#[stable(feature = "fnptr_impls", since = "1.4.0")]
22042204
impl<Ret, $($Arg),*> fmt::Debug for $FnTy {
2205-
#[inline]
22062205
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
22072206
fmt::Pointer::fmt(&(*self as *const ()), f)
22082207
}

0 commit comments

Comments
 (0)