Skip to content

Commit 9e57a49

Browse files
Copy
1 parent 14568de commit 9e57a49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub trait TableEntity {}
9898
pub struct DataStream<'a, M, D>
9999
where
100100
M: fmt::Display,
101-
D: fmt::Display,
101+
D: fmt::Display + Copy,
102102
{
103103
pub meta: Vec<Channel<'a>>,
104104
// data is renamed to frames
@@ -114,7 +114,7 @@ where
114114
impl<'a, M, D> Default for DataStream<'a, M, D>
115115
where
116116
M: fmt::Display,
117-
D: fmt::Display,
117+
D: fmt::Display + Copy,
118118
{
119119
fn default() -> Self {
120120
Self {
@@ -127,7 +127,7 @@ where
127127
impl<'a, M, D> DataStream<'a, M, D>
128128
where
129129
M: fmt::Display,
130-
D: fmt::Display,
130+
D: fmt::Display + Copy,
131131
{
132132
/// Creates a [DataTable] with optional data [data].
133133
///

0 commit comments

Comments
 (0)