Change mod() to always return positive number (#6179)

* Change `mod()` to always return positive number

Closes #6178

ChangeLog: The mod function was changed to always return a positive value (#6178)
This commit is contained in:
Olivier Goffart 2024-09-17 11:37:32 +02:00 committed by GitHub
parent ca64212369
commit 02467bd4cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 30 additions and 10 deletions

View file

@ -217,6 +217,7 @@ pub mod re_exports {
pub use i_slint_core::SharedString;
pub use i_slint_core::SharedVector;
pub use num_traits::float::Float;
pub use num_traits::ops::euclid::Euclid;
pub use once_cell::race::OnceBox;
pub use once_cell::unsync::OnceCell;
pub use pin_weak::rc::PinWeak;