Add push_extra method to Context

This commit is contained in:
Michael Pfaff 2023-07-01 21:37:34 -04:00
parent c56927e7a4
commit 184b334a09
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@ impl Context {
&mut self.extra
}
pub fn push_extra(&mut self, detail: Detail) {
self.extra.push(detail);
}
pub fn pop_extra(&mut self) -> Option<Detail> {
self.extra.pop()
}