misc: IO is probably ok written in caps
This commit is contained in:
@@ -12,7 +12,7 @@ pub trait Component {
|
|||||||
pub enum Category {
|
pub enum Category {
|
||||||
Control,
|
Control,
|
||||||
Memory,
|
Memory,
|
||||||
Io,
|
IO,
|
||||||
Programming,
|
Programming,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,14 +22,14 @@ impl Category {
|
|||||||
match self {
|
match self {
|
||||||
Self::Control => "Control Systems",
|
Self::Control => "Control Systems",
|
||||||
Self::Memory => "Memory Systems",
|
Self::Memory => "Memory Systems",
|
||||||
Self::Io => "I/O Systems",
|
Self::IO => "I/O Systems",
|
||||||
Self::Programming => "Programming",
|
Self::Programming => "Programming",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn list() -> Vec<Self> {
|
pub fn list() -> Vec<Self> {
|
||||||
vec![Self::Control, Self::Memory, Self::Io, Self::Programming]
|
vec![Self::Control, Self::Memory, Self::IO, Self::Programming]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user