summaryrefslogtreecommitdiffstats
path: root/vendor/gix-object/src/tree/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-object/src/tree/mod.rs')
-rw-r--r--vendor/gix-object/src/tree/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-object/src/tree/mod.rs b/vendor/gix-object/src/tree/mod.rs
index 147213d70..89e4def48 100644
--- a/vendor/gix-object/src/tree/mod.rs
+++ b/vendor/gix-object/src/tree/mod.rs
@@ -63,7 +63,7 @@ impl EntryMode {
}
/// An element of a [`TreeRef`][crate::TreeRef::entries].
-#[derive(PartialEq, Eq, Debug, Hash, Clone)]
+#[derive(PartialEq, Eq, Debug, Hash, Clone, Copy)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct EntryRef<'a> {
/// The kind of object to which `oid` is pointing.