small changes to satisfy karx
This commit is contained in:
parent
eff8ef2f6e
commit
a6059ab533
10
src/main.rs
10
src/main.rs
|
@ -89,10 +89,10 @@ lazy_static! {
|
||||||
impl Display for XcrabError {
|
impl Display for XcrabError {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::Bread(be) => Display::fmt(&be, f)?,
|
Self::Bread(be) => Display::fmt(be, f)?,
|
||||||
Self::Io(ie) => Display::fmt(&ie, f)?,
|
Self::Io(ie) => Display::fmt(ie, f)?,
|
||||||
Self::Toml(te) => Display::fmt(&te, f)?,
|
Self::Toml(te) => Display::fmt(te, f)?,
|
||||||
Self::Var(ve) => Display::fmt(&ve, f)?,
|
Self::Var(ve) => Display::fmt(ve, f)?,
|
||||||
Self::ClientDoesntExist => Display::fmt("client didn't exist", f)?,
|
Self::ClientDoesntExist => Display::fmt("client didn't exist", f)?,
|
||||||
Self::Custom(fe) => Display::fmt(fe, f)?,
|
Self::Custom(fe) => Display::fmt(fe, f)?,
|
||||||
};
|
};
|
||||||
|
@ -219,6 +219,8 @@ async fn main() -> Result<()> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_lines)]
|
||||||
|
|
||||||
async fn process_event<Dpy: AsyncDisplay + ?Sized>(
|
async fn process_event<Dpy: AsyncDisplay + ?Sized>(
|
||||||
ev: Event,
|
ev: Event,
|
||||||
manager: &mut XcrabWindowManager,
|
manager: &mut XcrabWindowManager,
|
||||||
|
|
Loading…
Reference in a new issue