Skip to content

Commit 0bdcef5

Browse files
committed
fix: remove deprecated constant
1 parent a25e92e commit 0bdcef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi/src/proto/media/file/regular.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub struct RegularFile(FileHandle);
1212

1313
impl RegularFile {
1414
/// A special position used to seek to the end of a file with `set_position()`.
15-
pub const END_OF_FILE: u64 = core::u64::MAX;
15+
pub const END_OF_FILE: u64 = u64::MAX;
1616

1717
/// Coverts a `FileHandle` into a `RegularFile` without checking the file kind.
1818
/// # Safety

0 commit comments

Comments
 (0)