Skip to content

Commit f25f468

Browse files
committed
Adjust wording of Placer trait safety requirements
1 parent 25574e5 commit f25f468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ops/place.rs

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

0 commit comments

Comments
 (0)