feat: lookup at downgrade time

works, but leaks memory
This commit is contained in:
2025-06-01 09:20:04 +08:00
parent 7d6168fdae
commit 20b2b6f1ef
20 changed files with 762 additions and 651 deletions

View File

@@ -1,16 +1,15 @@
// TODO: Contextful String
use ecow::EcoString;
use rpds::List;
pub struct StringContext {
context: List<()>,
context: Vec<()>,
}
impl StringContext {
pub fn new() -> StringContext {
StringContext {
context: List::new(),
context: Vec::new(),
}
}
}