servo / euclid

Geometry primitives (basic linear algebra) for Rust
Other
460 stars 102 forks source link

Documentation incorrect after removing Typed* #370

Closed anlumo closed 4 years ago

anlumo commented 4 years ago

Commit 4d1cbe7c546c16969b65d5684d7bd08a9a6bc7bf renamed all Typed[X] to [X], but the documentation was also only search/replaced:

https://github.com/servo/euclid/blob/bd51fba457eb24ac6ec9f548abffa08278044995/src/lib.rs#L21-L23

nical commented 4 years ago

Should be:

default::Point2D<T> is equivalent to Point2D<T, UnknownUnit>