diff options
Diffstat (limited to 'src/term/cell.rs')
-rw-r--r-- | src/term/cell.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/term/cell.rs b/src/term/cell.rs index 021ce280..e6e9f340 100644 --- a/src/term/cell.rs +++ b/src/term/cell.rs @@ -11,8 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -use std::mem; - use ansi::{NamedColor, Color}; use grid; use index::Column; @@ -98,11 +96,6 @@ impl Cell { // memcpy template to self *self = *template; } - - #[inline] - pub fn swap_fg_and_bg(&mut self) { - mem::swap(&mut self.fg, &mut self.bg); - } } #[cfg(test)] |