Optimized the storage, key is now String instead of Rc<String>, fixed some error output.

This commit is contained in:
Oleksandr Kozachuk
2022-12-20 22:06:46 +01:00
parent fbdfca1982
commit c43221c590
3 changed files with 53 additions and 49 deletions
+1
View File
@@ -125,6 +125,7 @@ impl LKOut {
Self { out: o, err: e }
}
#[allow(dead_code)]
pub fn from_vecs(out: Vec<String>, err: Vec<String>) -> Self {
Self {
out: Some(Rc::new(RefCell::new(out))),