Skip to content

Commit b8c0f38

Browse files
chore: note: round_ties_even is on stable, but not MSRV yet
Co-Authored-By: Erich Gubler <[email protected]>
1 parent 2b15a2b commit b8c0f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

naga/src/proc/constant_evaluator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,8 +1175,8 @@ impl<'a> ConstantEvaluator<'a> {
11751175
component_wise_float!(self, span, [arg], |e| { Ok([e.floor()]) })
11761176
}
11771177
crate::MathFunction::Round => {
1178-
// TODO: Use `f{32,64}.round_ties_even()` when available on stable. This polyfill
1179-
// is shamelessly [~~stolen from~~ inspired by `ndarray-image`][polyfill source],
1178+
// TODO: this hit stable on 1.77, but MSRV hasn't caught up yet
1179+
// This polyfill is shamelessly [~~stolen from~~ inspired by `ndarray-image`][polyfill source],
11801180
// which has licensing compatible with ours. See also
11811181
// <https://github.com/rust-lang/rust/issues/96710>.
11821182
//

0 commit comments

Comments
 (0)