fix default implementation warning in components\script\dom\identityhub.rs (#33686)

Signed-off-by: PS Adavize <siyakapromise@gmail.com>
This commit is contained in:
Adavize Promise 2024-10-07 13:44:53 +01:00 committed by GitHub
parent 433f48741b
commit 2642f3ce33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {