cargo fmt

This commit is contained in:
Robin Müller 2022-10-22 19:42:47 +02:00
parent b7dbeb2dfd
commit 3ffbd3697e
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C

View File

@ -98,11 +98,10 @@ impl TryFrom<EventRaw> for Event {
pub struct EventSmall { pub struct EventSmall {
severity: Severity, severity: Severity,
group_id: u8, group_id: u8,
unique_id: u8 unique_id: u8,
} }
impl EventSmall { impl EventSmall {
/// Generate an event. The raw representation of an event has 32 bits. /// Generate an event. The raw representation of an event has 32 bits.
/// If the passed group ID is invalid (too large), None wil be returned /// If the passed group ID is invalid (too large), None wil be returned
/// ///