mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-05-06 07:57:56 +00:00
More meaningful names and types for nop_reserve
This commit is contained in:
@@ -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