Revise error message: strictly monotonic → monotonic

This commit is contained in:
+merlan #flirora 2025-02-10 10:42:03 -05:00
parent 628e6f0fce
commit 66a33cb9f0

View File

@ -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();