]> git.lizzy.rs Git - rust.git/commit
ptr::RawPtr, spell out units used for the `offset` argument.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 20 Feb 2014 13:58:46 +0000 (14:58 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 20 Feb 2014 13:58:46 +0000 (14:58 +0100)
commite2f99b93cd0f9bdbaf126ce3eb5b9a8f2be354f4
tree2fc4617c6830d8bdc0cdc070bbf52245037c2a42
parent882c25fa2ded21f02e26d00045ae72457b08724c
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.
src/libstd/ptr.rs