mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fix default implementation warning in components\script\dom\identityhub.rs (#33686)
Signed-off-by: PS Adavize <siyakapromise@gmail.com>
This commit is contained in:
parent
433f48741b
commit
2642f3ce33
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue