about summary refs log tree commit diff
path: root/library/std/src/sys/pal/uefi/time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/uefi/time.rs')
-rw-r--r--library/std/src/sys/pal/uefi/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/uefi/time.rs b/library/std/src/sys/pal/uefi/time.rs
index 495ff2dc930..c4ff3015ac6 100644
--- a/library/std/src/sys/pal/uefi/time.rs
+++ b/library/std/src/sys/pal/uefi/time.rs
@@ -84,7 +84,7 @@ pub(crate) mod system_time_internal {
 
     // This algorithm is based on the one described in the post
     // https://blog.reverberate.org/2020/05/12/optimizing-date-algorithms.html
-    pub const fn uefi_time_to_duration(t: r_efi::system::Time) -> Duration {
+    pub(crate) const fn uefi_time_to_duration(t: r_efi::system::Time) -> Duration {
         assert!(t.month <= 12);
         assert!(t.month != 0);