about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-21 08:26:50 -0800
committerbors <bors@rust-lang.org>2014-02-21 08:26:50 -0800
commitf8893ed5d97180dc51d82df1bdbab989c4bde46d (patch)
tree807323b61f6b77229ade408cdb40e5ee4eece66a /src/rustllvm/PassWrapper.cpp
parentc6aaf2c7bd69af2a3fc9a109a8c3a6c3004616f2 (diff)
parente2f99b93cd0f9bdbaf126ce3eb5b9a8f2be354f4 (diff)
downloadrust-f8893ed5d97180dc51d82df1bdbab989c4bde46d.tar.gz
rust-f8893ed5d97180dc51d82df1bdbab989c4bde46d.zip
auto merge of #12420 : pnkfelix/rust/fsk-improve-doc-for-ptr-offset, r=alexcrichton
ptr::RawPtr, spell out units used for the `offset` argument.

spell out units used for the `offset` argument, so that callers do not
try to scale to byte units themselves.

(this was originally landed in PR #11002 for the stand-alone functions, but that PR did not modify the `RawPtr` methods, since that had no doc at all at the time.  Now `RawPtr` has the *only* documentation for `offset`, since the stand-alone functions went away in PR #12167 / PR #12248.)
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions