From eac54183c154ca044f98e9d74aa51892f73c0085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20SAISSY?= Date: Fri, 26 Jul 2024 12:15:02 +0200 Subject: clippy: components/script/realms (#32859) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Saissy --- components/script/realms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/realms.rs') diff --git a/components/script/realms.rs b/components/script/realms.rs index 37ed21366a3..11171051025 100644 --- a/components/script/realms.rs +++ b/components/script/realms.rs @@ -34,7 +34,7 @@ pub enum InRealm<'a> { } impl<'a> InRealm<'a> { - pub fn in_realm(token: &AlreadyInRealm) -> InRealm { + pub fn already(token: &AlreadyInRealm) -> InRealm { InRealm::Already(token) } -- cgit v1.2.3