More meaningful names and types for nop_reserve
This commit is contained in:
parent
d9e894911f
commit
3700779bfa
@ -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!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user