mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-01-31 10:56:41 +01:00
fix(bsp, event): pub; don't panic
This commit is contained in:
parent
8c54510f63
commit
b0d2fad17b
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use crate::*;
|
||||
#[derive(Debug, Clone, Eq, PartialEq, PartialOrd)] pub struct TuiEvent(Event);
|
||||
#[derive(Debug, Clone, Eq, PartialEq, PartialOrd)] pub struct TuiEvent(pub Event);
|
||||
impl Ord for TuiEvent {
|
||||
fn cmp (&self, other: &Self) -> std::cmp::Ordering {
|
||||
self.partial_cmp(other)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue