raphlinus / font-rs

Apache License 2.0
755 stars 49 forks source link

Removed type annotation in numeric literals / recip. #5

Closed hadronized closed 8 years ago

hadronized commented 8 years ago

Because of strong typing, rustc can infer the type you use as literal. No need to put extra annotation.

About the recip stuff, your implementation is actually std::f32::recip. See this.

googlebot commented 8 years ago

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

hadronized commented 8 years ago

Ah, sorry, I’ll fix that.