Explorar el Código

refactor: remove an unnecessary `pub`

toku-sa-n hace 4 años
padre
commit
23cbb7fa4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      acpi/src/fadt.rs

+ 1 - 1
acpi/src/fadt.rs

@@ -131,7 +131,7 @@ impl Fadt {
         }
     }
 
-    pub fn pm_timer_block(&self) -> Result<Option<GenericAddress>, AcpiError> {
+    fn pm_timer_block(&self) -> Result<Option<GenericAddress>, AcpiError> {
         let raw = unsafe {
             self.x_pm_timer_block.access(self.header().revision).or_else(|| {
                 if self.pm_timer_block != 0 {