From 2642f3ce338f5750c5cbc8878a29f8dffe832921 Mon Sep 17 00:00:00 2001 From: Adavize Promise <128262752+cashall-0@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:44:53 +0100 Subject: [PATCH] fix default implementation warning in components\script\dom\identityhub.rs (#33686) Signed-off-by: PS Adavize --- components/script/dom/identityhub.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/script/dom/identityhub.rs b/components/script/dom/identityhub.rs index cb129dc5ca2..81831be9202 100644 --- a/components/script/dom/identityhub.rs +++ b/components/script/dom/identityhub.rs @@ -36,6 +36,12 @@ pub struct IdentityHub { render_passes: IdentityManager, } +impl Default for IdentityHub { + fn default() -> Self { + Self::new() + } +} + impl IdentityHub { pub fn new() -> Self { IdentityHub {