More meaningful names and types for nop_reserve

This commit is contained in:
David Tolnay 2017-12-10 23:18:08 -08:00
parent d9e894911f
commit 3700779bfa
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -669,7 +669,7 @@ macro_rules! seq_impl {
// Dummy impl of reserve // Dummy impl of reserve
#[cfg(any(feature = "std", feature = "alloc"))] #[cfg(any(feature = "std", feature = "alloc"))]
fn nop_reserve<T, U>(_x: T, _y: U) { } fn nop_reserve<T>(_seq: T, _n: usize) {}
#[cfg(any(feature = "std", feature = "alloc"))] #[cfg(any(feature = "std", feature = "alloc"))]
seq_impl!( seq_impl!(