We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284a8e7 commit f010518Copy full SHA for f010518
library/std/src/sys/pal/unix/fs.rs
@@ -746,8 +746,7 @@ impl Iterator for ReadDir {
746
// being referenced.
747
macro_rules! entry_field_ptr {
748
($field:ident) => {{
749
- // To make sure the field actually exists and is visible,
750
- // and we aren't silently doing any Deref coercion.
+ // To make sure we aren't silently doing any Deref coercion.
751
const _: usize = mem::offset_of!(dirent64, $field);
752
&raw const (*entry_ptr).$field
753
}};
0 commit comments