no_std fix
This commit is contained in:
parent
4af40cd423
commit
bc73984bd2
@ -40,7 +40,7 @@ pub trait Event {
|
||||
{
|
||||
match write!(formatter, "[{}]", Self::name()) {
|
||||
Ok(_) => Ok(()),
|
||||
Err(_) => Err(AflError::Unknown("write error".to_string())),
|
||||
Err(_) => Err(AflError::Unknown("write error".into())),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user