summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval/cast.rs2
-rw-r--r--src/eval/scope.rs2
-rw-r--r--src/syntax/parser.rs2
3 files changed, 3 insertions, 3 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)
}
diff --git a/src/syntax/parser.rs b/src/syntax/parser.rs
index 05db42e1..5fc9ec26 100644
--- a/src/syntax/parser.rs
+++ b/src/syntax/parser.rs
@@ -1060,7 +1060,7 @@ fn for_loop(p: &mut Parser) {
p.assert(SyntaxKind::For);
pattern(p);
if p.at(SyntaxKind::Comma) {
- p.expected("keyword `in`. did you mean to use a destructuring pattern?");
+ p.expected("keyword `in` - did you mean to use a destructuring pattern?");
if !p.eat_if(SyntaxKind::Ident) {
p.eat_if(SyntaxKind::Underscore);
}