File tree 2 files changed +2
-2
lines changed
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
309
309
Rust object. This could be the object that represents the wrapper for the
310
310
respective C object.
311
311
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
313
313
C library. The C library can then include the pointer to the Rust object in
314
314
the notification. This will allow the callback to unsafely access the
315
315
referenced Rust object.
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ impl<T> [T] {
423
423
core_slice:: SliceExt :: get_unchecked_mut ( self , index)
424
424
}
425
425
426
- /// Returns an raw pointer to the slice's buffer.
426
+ /// Returns a raw pointer to the slice's buffer.
427
427
///
428
428
/// The caller must ensure that the slice outlives the pointer this
429
429
/// function returns, or else it will end up pointing to garbage.
You can’t perform that action at this time.
0 commit comments