diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-13 12:21:14 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-13 14:33:58 +0200 |
| commit | 144f20882136ef81b79d77bd8a68f42b76c66676 (patch) | |
| tree | 7a452ab2a092f674d93cd994d80b88cc6808e540 /src/library/text.rs | |
| parent | d002cdf451e1c6efbf7cd7f2303264526b6f8a92 (diff) | |
Add file information to spans
Diffstat (limited to 'src/library/text.rs')
| -rw-r--r-- | src/library/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/text.rs b/src/library/text.rs index cd97691c..55cabd15 100644 --- a/src/library/text.rs +++ b/src/library/text.rs @@ -132,7 +132,7 @@ pub fn lang(_: &mut EvalContext, args: &mut FuncArgs) -> TypResult<Value> { if dir.v.axis() == SpecAxis::Horizontal { Some(dir.v) } else { - bail!(args.source, dir.span, "must be horizontal"); + bail!(dir.span, "must be horizontal"); } } else { iso.as_deref().map(lang_dir) |
