RazrFalcon / tiny-skia

A tiny Skia subset ported to Rust
BSD 3-Clause "New" or "Revised" License
1.05k stars 67 forks source link

Directly use associated constants on numeric types #95

Closed linkmauve closed 1 year ago

linkmauve commented 1 year ago

u32::MAX, f32::EPSILON, etc. are all available directly on their type, there is no need to use the soon-to-be deprecated core::* modules for those.

RazrFalcon commented 1 year ago

Thanks.