aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/long_mode')
-rw-r--r--src/long_mode/display.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs
index c7247e7..a49cbd0 100644
--- a/src/long_mode/display.rs
+++ b/src/long_mode/display.rs
@@ -894,6 +894,10 @@ impl DisplaySink for BigEnoughString {
}
impl BigEnoughString {
+ pub fn clear(&mut self) {
+ self.content.clear();
+ }
+
pub fn into_inner(self) -> alloc::string::String {
self.content
}