From 469f103132d9e859f367f0e3b85cd117df7ba7a7 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 2 Jan 2025 14:05:24 +0000 Subject: [PATCH] Clippy --- compiler-core/src/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-core/src/ast.rs b/compiler-core/src/ast.rs index e878a63fc2f..da6d5d79096 100644 --- a/compiler-core/src/ast.rs +++ b/compiler-core/src/ast.rs @@ -1336,7 +1336,7 @@ impl UntypedRecordUpdateArg { impl HasLocation for UntypedRecordUpdateArg { fn location(&self) -> SrcSpan { - self.location.clone() + self.location } }