summaryrefslogtreecommitdiff
path: root/src/eval/func.rs
diff options
context:
space:
mode:
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>,