summaryrefslogtreecommitdiff
path: root/src/eval/func.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-18 19:10:55 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-18 19:16:13 +0200
commitd10b53df0b487036b0d639b6033f4568648cfff1 (patch)
tree5209581e847af37c9a770e2e7e43d95bff2e113f /src/eval/func.rs
parent35302d20047c58baa99065a4574eafe1920e7be6 (diff)
Clippy
Diffstat (limited to 'src/eval/func.rs')
-rw-r--r--src/eval/func.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/func.rs b/src/eval/func.rs
index 582eabd4..faf2d696 100644
--- a/src/eval/func.rs
+++ b/src/eval/func.rs
@@ -17,8 +17,8 @@ use crate::syntax::{SourceId, Span, SyntaxNode};
use crate::World;
/// An evaluatable function.
-#[allow(clippy::derived_hash_with_manual_eq)]
#[derive(Clone, Hash)]
+#[allow(clippy::derived_hash_with_manual_eq)]
pub struct Func {
/// The internal representation.
repr: Repr,
@@ -278,8 +278,8 @@ pub enum Param {
impl Closure {
/// Call the function in the context with the arguments.
- #[allow(clippy::too_many_arguments)]
#[comemo::memoize]
+ #[allow(clippy::too_many_arguments)]
fn call(
this: &Func,
world: Tracked<dyn World>,