Skip to content

Commit 14bbd0a

Browse files
committed
Address review
1 parent d290849 commit 14bbd0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/convert.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pub trait Into<T>: Sized {
276276
pub trait From<T>: Sized {
277277
/// Performs the conversion.
278278
#[stable(feature = "rust1", since = "1.0.0")]
279-
fn from(t: T) -> Self;
279+
fn from(_: T) -> Self;
280280
}
281281

282282
/// An attempted conversion that consumes `self`, which may or may not be

src/librustdoc/html/highlight.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub trait Writer {
134134
fn string<T: Display>(&mut self,
135135
text: T,
136136
klass: Class,
137-
tas: Option<&TokenAndSpan>)
137+
tok: Option<&TokenAndSpan>)
138138
-> io::Result<()>;
139139
}
140140

0 commit comments

Comments
 (0)