mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 02:13:24 +00:00
Fix multiple Default
implementation caveats
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
8633893bb9
commit
d6714c4b47
@ -97,3 +97,9 @@ impl Clone for Heap {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Heap {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user