Remove unnecessary Clone bounds
This commit is contained in:
parent
0099277644
commit
b291619d10
9 changed files with 32 additions and 33 deletions
|
|
@ -51,7 +51,7 @@ fn atom(
|
|||
}
|
||||
|
||||
fn left_assoc(
|
||||
op: impl Parser<char, BinOp, Error = Error> + Clone + 'static,
|
||||
op: impl Parser<char, BinOp, Error = Error> + 'static,
|
||||
over: impl Parser<char, Expr, Error = Error> + Clone + 'static,
|
||||
) -> BoxedParser<'static, char, Expr, Error> {
|
||||
let op_over = space()
|
||||
|
|
@ -73,7 +73,7 @@ fn left_assoc(
|
|||
}
|
||||
|
||||
fn right_assoc(
|
||||
op: impl Parser<char, BinOp, Error = Error> + Clone + 'static,
|
||||
op: impl Parser<char, BinOp, Error = Error> + 'static,
|
||||
over: impl Parser<char, Expr, Error = Error> + Clone + 'static,
|
||||
) -> BoxedParser<'static, char, Expr, Error> {
|
||||
let over_op = over
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue