diff options
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/cast.rs | 2 | ||||
| -rw-r--r-- | src/eval/scope.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/cast.rs b/src/eval/cast.rs index 29cf5f71..917972ed 100644 --- a/src/eval/cast.rs +++ b/src/eval/cast.rs @@ -242,7 +242,7 @@ impl CastInfo { if parts.iter().any(|p| p == "length"); if !matching_type; then { - write!(msg, ": a length needs a unit – did you mean {i}pt?").unwrap(); + write!(msg, ": a length needs a unit - did you mean {i}pt?").unwrap(); } }; diff --git a/src/eval/scope.rs b/src/eval/scope.rs index bc62feb1..f2aa26fb 100644 --- a/src/eval/scope.rs +++ b/src/eval/scope.rs @@ -72,7 +72,7 @@ impl<'a> Scopes<'a> { #[cold] fn unknown_variable(var: &str) -> EcoString { if var.contains('-') { - eco_format!("unknown variable: {} – if you meant to use subtraction, try adding spaces around the minus sign.", var) + eco_format!("unknown variable: {} - if you meant to use subtraction, try adding spaces around the minus sign.", var) } else { eco_format!("unknown variable: {}", var) } |
