File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ However it is often desired that the callback is targeted to a special
309309Rust object. This could be the object that represents the wrapper for the
310310respective C object.
311311
312- This can be achieved by passing an raw pointer to the object down to the
312+ This can be achieved by passing a raw pointer to the object down to the
313313C library. The C library can then include the pointer to the Rust object in
314314the notification. This will allow the callback to unsafely access the
315315referenced Rust object.
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ impl<T> [T] {
423423 core_slice:: SliceExt :: get_unchecked_mut ( self , index)
424424 }
425425
426- /// Returns an raw pointer to the slice's buffer.
426+ /// Returns a raw pointer to the slice's buffer.
427427 ///
428428 /// The caller must ensure that the slice outlives the pointer this
429429 /// function returns, or else it will end up pointing to garbage.
You can’t perform that action at this time.
0 commit comments