Skip to content

Commit b3015ab

Browse files
committed
Fix update to 2018 edition
1 parent 61f35f0 commit b3015ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ pub enum ParamKindOrd {
318318
}
319319

320320
impl fmt::Display for ParamKindOrd {
321-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
321+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
322322
match self {
323323
ParamKindOrd::Lifetime => "lifetime".fmt(f),
324324
ParamKindOrd::Type => "type".fmt(f),

0 commit comments

Comments
 (0)