mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Merge pull request #120 from phil-opp/phil-opp-patch-1
Fix type name: `EntryFlags` instead of `TableEntryFlags`
This commit is contained in:
@@ -118,7 +118,7 @@ bitflags! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
To extract the flags from the entry we create a `TableEntryFlags::flags` method that uses [from_bits_truncate]:
|
To extract the flags from the entry we create a `EntryFlags::flags` method that uses [from_bits_truncate]:
|
||||||
|
|
||||||
[from_bits_truncate]: https://doc.rust-lang.org/bitflags/bitflags/macro.bitflags!.html#methods
|
[from_bits_truncate]: https://doc.rust-lang.org/bitflags/bitflags/macro.bitflags!.html#methods
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user