about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-10-06 19:15:08 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-10-09 09:44:51 -0700
commit9c09c9434764127f857a9599b93dc090ac63cc2b (patch)
tree4dc407a2998db57fbdc869d33ea75cf6c0e2b2d4 /src/rustllvm/PassWrapper.cpp
parent01d58fe2cbad0872f92571960ca3d8a5b01d0784 (diff)
downloadrust-9c09c9434764127f857a9599b93dc090ac63cc2b.tar.gz
rust-9c09c9434764127f857a9599b93dc090ac63cc2b.zip
syntax: Tweak the return value of bytes!()
Instead of returning &'static [u8], an invocation of `bytes!()` now returns
`&'static [u8, ..N]` where `N` is the length of the byte vector. This should
functionally be the same, but there are some cases where an explicit cast may be
needed, so this is a:

[breaking-change]
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions