Skip to content

Commit 7bfd641

Browse files
committed
typo: fix
1 parent 451b07a commit 7bfd641

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

multiboot2/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- **Breaking**: Renamed `VBEWindowAttributes::WRITABLE` (fix typo)
6+
57
## v0.24.1 (2025-11-21)
68

79
- Fix typo

multiboot2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ mod tests {
490490
assert!(vbe.mode_info().window_a_attributes.contains(
491491
VBEWindowAttributes::RELOCATABLE
492492
| VBEWindowAttributes::READABLE
493-
| VBEWindowAttributes::WRITEABLE
493+
| VBEWindowAttributes::WRITABLE
494494
));
495495
assert_eq!({ vbe.mode_info().window_granularity }, 64);
496496
assert_eq!({ vbe.mode_info().window_size }, 64);

multiboot2/src/vbe_info.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ bitflags! {
420420
/// Window is readable?
421421
const READABLE = 0x2;
422422

423-
/// Window is writeable?
424-
const WRITEABLE = 0x4;
423+
/// Window is writable?
424+
const WRITABLE = 0x4;
425425
}
426426
}
427427

0 commit comments

Comments
 (0)