Adjust wording of Placer trait safety requirements

This commit is contained in:
Taylor Cramer 2018-01-16 08:51:24 -08:00
parent 25574e58b6
commit f25f468709

View file

@ -32,8 +32,8 @@ pub unsafe trait Place<Data: ?Sized> {
/// Note that the data at this address is generally uninitialized,
/// and thus one should use `ptr::write` for initializing it.
///
/// This function must return a valid (non-zero) pointer to
/// a location at which a value of type `Data` can be written.
/// This function must return a pointer through which a value
/// of type `Data` can be written.
fn pointer(&mut self) -> *mut Data;
}