Merge branch 'main' into implicit-ancestry
This commit is contained in:
commit
da19edc3e3
33 changed files with 746 additions and 392 deletions
|
@ -17,6 +17,11 @@ impl KeymapContext {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn clear(&mut self) {
|
||||
self.set.clear();
|
||||
self.map.clear();
|
||||
}
|
||||
|
||||
pub fn extend(&mut self, other: &Self) {
|
||||
for v in &other.set {
|
||||
self.set.insert(v.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue