Skip to content

Commit b657387

Browse files
meiomorphismGeal
authored andcommitted
relax bounds on many1 macro
Remove `Copy` from the bounds on the input type for `many1c`. The corresponding bounds on `many1`, which it delegates to, were weakened in commit 9b1cfb0 -- perhaps accidentally, as that commit otherwise only adds documentation.
1 parent 06efa90 commit b657387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ where
140140
#[cfg_attr(feature = "docsrs", doc(cfg(feature = "alloc")))]
141141
pub fn many1c<I, O, E, F>(input: I, f: F) -> IResult<I, Vec<O>, E>
142142
where
143-
I: Clone + Copy + PartialEq,
143+
I: Clone + PartialEq,
144144
F: Fn(I) -> IResult<I, O, E>,
145145
E: ParseError<I>,
146146
{

0 commit comments

Comments
 (0)