diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-08 21:25:28 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-09 00:15:22 -0500 |
commit | 939fd8bed87dd67de9d0e00ba151ef637ef1c16a (patch) | |
tree | c7253a2e7da5fff361850debfcd248ebc0bf2137 /src/cell.rs | |
parent | e5bdee42da0cf6f74db46fca4bcc6c6a32c7a639 (diff) | |
download | vt100-rust-939fd8bed87dd67de9d0e00ba151ef637ef1c16a.tar.gz vt100-rust-939fd8bed87dd67de9d0e00ba151ef637ef1c16a.zip |
simplify
Diffstat (limited to 'src/cell.rs')
-rw-r--r-- | src/cell.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cell.rs b/src/cell.rs index baa99bb..240ddf9 100644 --- a/src/cell.rs +++ b/src/cell.rs @@ -118,13 +118,13 @@ impl Cell { /// Returns the foreground color of the cell. #[must_use] - pub fn fgcolor(&self) -> crate::attrs::Color { + pub fn fgcolor(&self) -> crate::Color { self.attrs.fgcolor } /// Returns the background color of the cell. #[must_use] - pub fn bgcolor(&self) -> crate::attrs::Color { + pub fn bgcolor(&self) -> crate::Color { self.attrs.bgcolor } |