Skip to content

Commit 45941cf

Browse files
authored
Apply suggestions from code review
1 parent 7303a17 commit 45941cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/impl_raw_views.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ where
121121
/// way as regular raw pointer casts.
122122
///
123123
/// While this method is safe, for the same reason as regular raw pointer
124-
/// casts are safe, accessing the produced raw view is only possible
124+
/// casts are safe, access through the produced raw view is only possible
125125
/// in an unsafe block or function.
126126
pub fn cast<B>(self) -> RawArrayView<B, D> {
127127
assert_eq!(
@@ -258,7 +258,7 @@ where
258258
/// way as regular raw pointer casts.
259259
///
260260
/// While this method is safe, for the same reason as regular raw pointer
261-
/// casts are safe, accessing the produced raw view is only possible
261+
/// casts are safe, access through the produced raw view is only possible
262262
/// in an unsafe block or function.
263263
pub fn cast<B>(self) -> RawArrayViewMut<B, D> {
264264
assert_eq!(

0 commit comments

Comments
 (0)