Skip to content

Commit 2508cb8

Browse files
Added copy trait bound
1 parent 35a54e7 commit 2508cb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tuplities-flatten-nest/src/nested_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// Trait to obtain a nested tuple of references from a nested tuple of values.
44
pub trait NestedTupleRef {
55
/// The nested tuple type containing references to each leaf value.
6-
type Ref<'a>
6+
type Ref<'a>: Copy
77
where
88
Self: 'a;
99

0 commit comments

Comments
 (0)