1
Fork 0

Address review

This commit is contained in:
est31 2017-05-02 06:35:36 +02:00
parent d290849a23
commit 14bbd0a5a3
2 changed files with 2 additions and 2 deletions

View file

@ -276,7 +276,7 @@ pub trait Into<T>: Sized {
pub trait From<T>: Sized {
/// Performs the conversion.
#[stable(feature = "rust1", since = "1.0.0")]
fn from(t: T) -> Self;
fn from(_: T) -> Self;
}
/// An attempted conversion that consumes `self`, which may or may not be

View file

@ -134,7 +134,7 @@ pub trait Writer {
fn string<T: Display>(&mut self,
text: T,
klass: Class,
tas: Option<&TokenAndSpan>)
tok: Option<&TokenAndSpan>)
-> io::Result<()>;
}