summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorChris Wong <lambda.fairy@gmail.com>2014-12-22 10:57:09 +1300
committerChris Wong <lambda.fairy@gmail.com>2014-12-23 22:06:32 +1300
commit85c1a4b1ba09dae786b3554e0ab596814efabe0e (patch)
tree361dd0205510de3ea787361683a12de74efb9400 /src/libstd/sys/unix/stack_overflow.rs
parent62fb41c32bd97c4e9bc286a1db5d7126a06b8b91 (diff)
downloadrust-85c1a4b1ba09dae786b3554e0ab596814efabe0e.tar.gz
rust-85c1a4b1ba09dae786b3554e0ab596814efabe0e.zip
Rename include_bin! to include_bytes!
According to [RFC 344][], methods that return `&[u8]` should have names
ending in `bytes`. Though `include_bin!` is a macro not a method, it
seems reasonable to follow the convention anyway.

We keep the old name around for now, but trigger a deprecation warning
when it is used.

[RFC 344]: https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md

[breaking-change]
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions