This commit is contained in:
Erin 2021-12-09 00:35:43 +01:00 committed by ondra05
parent 61ee6b3597
commit 6d48dca547

View file

@ -578,6 +578,7 @@ impl ops::Div for Value {
.collect(),
}
}
Functio::Chain { .. } => todo!(":P"),
Functio::Eval(s) => {
let len = s.len();
Functio::Eval(s.chars().take((len as f64 * fraction) as usize).collect())