aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdavize Promise <128262752+cashall-0@users.noreply.github.com>2024-10-07 13:44:53 +0100
committerGitHub <noreply@github.com>2024-10-07 12:44:53 +0000
commit2642f3ce338f5750c5cbc8878a29f8dffe832921 (patch)
treedc0ff77b2a10ee0a22476bebfff24684fc4ef503
parent433f48741b03f1ddf25008265138a9d21569e123 (diff)
downloadservo-2642f3ce338f5750c5cbc8878a29f8dffe832921.tar.gz
servo-2642f3ce338f5750c5cbc8878a29f8dffe832921.zip
fix default implementation warning in components\script\dom\identityhub.rs (#33686)
Signed-off-by: PS Adavize <siyakapromise@gmail.com>
-rw-r--r--components/script/dom/identityhub.rs6
1 files changed, 6 insertions, 0 deletions
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<RenderPass>,
}
+impl Default for IdentityHub {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl IdentityHub {
pub fn new() -> Self {
IdentityHub {