about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-05 22:00:40 -0800
committerbors <bors@rust-lang.org>2013-03-05 22:00:40 -0800
commit959e483fb705e99097a85ce42371bd57b78bd180 (patch)
tree3b4e83a1941021c7ec5f9c335698a1629e3cf82d /src/libsyntax/parse/parser.rs
parent165cc9e2c424b674a9e6fc88cc7c86ebc7d55b98 (diff)
parentce23c8c0cfc6aee3eae7d0287651ef7bcd9c6b9f (diff)
downloadrust-959e483fb705e99097a85ce42371bd57b78bd180.tar.gz
rust-959e483fb705e99097a85ce42371bd57b78bd180.zip
auto merge of #5235 : yjh0502/rust/io_float, r=graydon
When parsing bytes from a wire, there is a need to parse floating-point bytes to float values ([u8*4] to f32, [u8*8] to f64). This can be done via cast::transmute, but there is no way to do it safely.

It's quite common, so I think I't better to support it in core library.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions