mourner / delaunator-rs

Fast 2D Delaunay triangulation in Rust. A port of Delaunator.
https://docs.rs/delaunator
ISC License
207 stars 28 forks source link

Minor: drop std where possible (use core). #36

Closed martinfrances107 closed 8 months ago

martinfrances107 commented 8 months ago

This is a small point, there are no functional changes.

A criticism of the STD library is that it is inflated -- some things don't absolutely need to be in it. The process of cleaning it up has started .. and some functions are being moved to core

for example

-use std::iter::repeat_with;
+use core::iter::repeat_with;