libcore: remove unneeded allow(deprecated)
This commit is contained in:
parent
cc4d1e5bb0
commit
c775c2fe96
3 changed files with 2 additions and 4 deletions
|
@ -2048,7 +2048,7 @@ macro_rules! tuple {
|
|||
( $($name:ident,)+ ) => (
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<$($name:Debug),*> Debug for ($($name,)*) where last_type!($($name,)+): ?Sized {
|
||||
#[allow(non_snake_case, unused_assignments, deprecated)]
|
||||
#[allow(non_snake_case, unused_assignments)]
|
||||
fn fmt(&self, f: &mut Formatter) -> Result {
|
||||
let mut builder = f.debug_tuple("");
|
||||
let ($(ref $name,)*) = *self;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
//! Integer and floating-point number formatting
|
||||
|
||||
#![allow(deprecated)]
|
||||
|
||||
|
||||
use fmt;
|
||||
use ops::{Div, Rem, Sub};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! An implementation of SipHash.
|
||||
|
||||
#![allow(deprecated)]
|
||||
#![allow(deprecated)] // the types in this module are deprecated
|
||||
|
||||
use marker::PhantomData;
|
||||
use ptr;
|
||||
|
|
Loading…
Reference in a new issue