commit | daaf774860a68c3ba7b4019853d64e8f2a3acd3f | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Oct 03 11:11:43 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Mon Oct 03 11:11:43 2016 -0700 |
tree | 5b1dfad29f82ce42b20c0fd8474bf65ecc227789 | |
parent | 04983e10fab96c123348c8efed45fb7ccd23f022 [diff] [blame] |
Rustfmt
diff --git a/src/generics.rs b/src/generics.rs index 8955271..d92d2b4 100644 --- a/src/generics.rs +++ b/src/generics.rs
@@ -16,9 +16,7 @@ impl Lifetime { pub fn new<T: Into<Ident>>(t: T) -> Self { - Lifetime { - ident: Ident::new(t), - } + Lifetime { ident: Ident::new(t) } } }