mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 19:26:17 +00:00
More meaningful names and types for nop_reserve
This commit is contained in:
1 file changed
+1
-1
@@ -669,7 +669,7 @@ macro_rules! seq_impl {
|
||||
|
||||
// Dummy impl of reserve
|
||||
#[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"))]
|
||||
seq_impl!(
|
||||
|
||||
Reference in new issue
Block a user