Reduce size of ChainArgument.

This commit is contained in:
Stephen Chung
2021-12-27 17:00:21 +08:00
parent 757eacfdde
commit 7a15071e4e
2 changed files with 52 additions and 51 deletions

View File

@@ -329,10 +329,7 @@ pub type StaticVec<T> = smallvec::SmallVec<[T; 3]>;
type FnArgsVec<T> = smallvec::SmallVec<[T; 8]>;
/// Inline arguments storage for function calls.
///
/// # Notes
///
/// This type aliases to [`StaticVec`][crate::StaticVec] under `no_closure`.
/// This type aliases to [`StaticVec`][crate::StaticVec].
#[cfg(feature = "no_closure")]
type FnArgsVec<T> = crate::StaticVec<T>;