aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/realms.rs
diff options
context:
space:
mode:
authorRémy SAISSY <remy.saissy@gmail.com>2024-07-26 12:15:02 +0200
committerGitHub <noreply@github.com>2024-07-26 10:15:02 +0000
commiteac54183c154ca044f98e9d74aa51892f73c0085 (patch)
tree967c59d4b59fe39436df58b12f4927e533226d8c /components/script/realms.rs
parentbc1c71bd4df9424e4cceed9dc8cc38efc591095b (diff)
downloadservo-eac54183c154ca044f98e9d74aa51892f73c0085.tar.gz
servo-eac54183c154ca044f98e9d74aa51892f73c0085.zip
clippy: components/script/realms (#32859)
Signed-off-by: Rémy Saissy <remy.saissy@gmail.com>
Diffstat (limited to 'components/script/realms.rs')
-rw-r--r--components/script/realms.rs2
1 files changed, 1 insertions, 1 deletions
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)
}