Clippy
This commit is contained in:
parent
4ed02053d8
commit
2ff7cb8c09
|
@ -31,12 +31,12 @@ impl ScreenCharacter {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the `character` associated with the `ScreenCharacter`.
|
/// Returns the `character` associated with the `ScreenCharacter`.
|
||||||
pub fn get_character(&self) -> u8 {
|
pub fn get_character(self) -> u8 {
|
||||||
self.character
|
self.character
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the `color` associated with the `ScreenCharacter`.
|
/// Returns the `color` associated with the `ScreenCharacter`.
|
||||||
pub fn get_color(&self) -> TextModeColor {
|
pub fn get_color(self) -> TextModeColor {
|
||||||
self.color
|
self.color
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue