diff options
author | Nadrieril | 2019-04-08 18:23:55 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-08 18:23:55 +0200 |
commit | 47c0a3ca296a9b775275c2c7118a172b9f0bcc54 (patch) | |
tree | c84f253528fdbea2f7d14aac1c909ec51c7b3184 /dhall_generator/src | |
parent | 00fa24b851ff6337cf4c5c63f82d95488180a413 (diff) |
clippy
Diffstat (limited to 'dhall_generator/src')
-rw-r--r-- | dhall_generator/src/quote.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_generator/src/quote.rs b/dhall_generator/src/quote.rs index 8fce89d..8552def 100644 --- a/dhall_generator/src/quote.rs +++ b/dhall_generator/src/quote.rs @@ -125,7 +125,7 @@ fn quote_subexpr( |l, e| quote_subexpr(e, &ctx.insert(l.clone(), ())), |_| unreachable!(), |_| unreachable!(), - |l| l.clone(), + Label::clone, ) { Var(V(ref s, n)) => { match ctx.lookup(s, n) { @@ -160,7 +160,7 @@ fn quote_expr(expr: &Expr<X, X>, ctx: &Context<Label, ()>) -> TokenStream { |l, e| quote_subexpr(e, &ctx.insert(l.clone(), ())), |_| unreachable!(), |_| unreachable!(), - |l| l.clone(), + Label::clone, ) { Var(V(ref s, n)) => { match ctx.lookup(s, n) { |