Reverts keymap precedence order change
This commit is contained in:
parent
f6601f64e5
commit
ffe53bed87
2 changed files with 55 additions and 11 deletions
|
@ -16,6 +16,14 @@ pub trait Action: 'static {
|
|||
Self: Sized;
|
||||
}
|
||||
|
||||
impl std::fmt::Debug for dyn Action {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.debug_struct("dyn Action")
|
||||
.field("namespace", &self.namespace())
|
||||
.field("name", &self.name())
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
/// Define a set of unit struct types that all implement the `Action` trait.
|
||||
///
|
||||
/// The first argument is a namespace that will be associated with each of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue