mirror of
https://github.com/typst/typst
synced 2025-08-11 21:57:55 +08:00
Revise error message: strictly monotonic → monotonic
This commit is contained in:
parent
628e6f0fce
commit
66a33cb9f0
@ -1229,7 +1229,7 @@ fn process_stops(stops: &[Spanned<GradientStop>]) -> SourceResult<Vec<(Color, Ra
|
||||
};
|
||||
|
||||
if stop.get() < last_stop {
|
||||
bail!(*span, "offsets must be in strictly monotonic order");
|
||||
bail!(*span, "offsets must be in monotonic order");
|
||||
}
|
||||
|
||||
last_stop = stop.get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user