capnproto / capnpc-rust

Cap'n Proto code generation for Rust
76 stars 26 forks source link

Not using `match` on floating point values anymore. #40

Closed tynril closed 7 years ago

tynril commented 7 years ago

The use of literal pattern matching on floating points has been deprecated. It currently produces a warning, but will eventually cause a compilation error.

See: https://github.com/rust-lang/rust/issues/41620

dwrensha commented 7 years ago

Thanks!