Major work
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 10s
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 10s
This commit is contained in:
@@ -42,6 +42,10 @@ impl DebugLog {
|
||||
pub fn history(&self) -> &[String] {
|
||||
&self.history[self.history.len().saturating_sub(100)..]
|
||||
}
|
||||
|
||||
pub fn pop(&mut self) -> Option<String> {
|
||||
self.history.pop()
|
||||
}
|
||||
}
|
||||
|
||||
impl std::fmt::Write for DebugLog {
|
||||
|
||||
Reference in New Issue
Block a user