summaryrefslogtreecommitdiffstats
path: root/vendor/itertools/src/impl_macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/itertools/src/impl_macros.rs')
-rw-r--r--vendor/itertools/src/impl_macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/itertools/src/impl_macros.rs b/vendor/itertools/src/impl_macros.rs
index 5772baeb6..a029843b0 100644
--- a/vendor/itertools/src/impl_macros.rs
+++ b/vendor/itertools/src/impl_macros.rs
@@ -15,6 +15,7 @@ macro_rules! debug_fmt_fields {
macro_rules! clone_fields {
($($field:ident),*) => {
+ #[inline] // TODO is this sensible?
fn clone(&self) -> Self {
Self {
$($field: self.$field.clone(),)*