Remove unnecessary lifetimes (#58)

Thanks clippy!
This commit is contained in:
Casey Rodarmor 2016-11-11 19:12:44 -08:00 committed by GitHub
parent b038490061
commit 510a269d00

View File

@ -734,7 +734,7 @@ impl<'a, T: Display> Display for Tick<'a, T> {
}
}
fn ticks<'a, T: 'a + Display>(ts: &'a [T]) -> Vec<Tick<'a, T>> {
fn ticks<T: Display>(ts: &[T]) -> Vec<Tick<T>> {
ts.iter().map(Tick).collect()
}