progress on linebuf refactor
This commit is contained in:
@@ -1002,10 +1002,10 @@ impl From<Vec<String>> for Var {
|
||||
}
|
||||
|
||||
impl From<Vec<Candidate>> for Var {
|
||||
fn from(value: Vec<Candidate>) -> Self {
|
||||
let as_strs = value.into_iter().map(|c| c.0).collect::<Vec<_>>();
|
||||
Self::new(VarKind::Arr(as_strs.into()), VarFlags::NONE)
|
||||
}
|
||||
fn from(value: Vec<Candidate>) -> Self {
|
||||
let as_strs = value.into_iter().map(|c| c.0).collect::<Vec<_>>();
|
||||
Self::new(VarKind::Arr(as_strs.into()), VarFlags::NONE)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<&[String]> for Var {
|
||||
|
||||
Reference in New Issue
Block a user