Переглянути джерело

Fix weird rustdoc issue

If we indent this by more than one space, this compains about not being
able to tokenize the code blocks?? Whatever, this seems to work.
Isaac Woods 4 роки тому
батько
коміт
90a11a408b
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      aml/src/lib.rs

+ 4 - 4
aml/src/lib.rs

@@ -149,10 +149,10 @@ impl AmlContext {
     /// If `true` is passed in `legacy_mode`, the library will try and remain compatible with a ACPI 1.0
     /// implementation. The following changes/assumptions are made:
     ///
-    ///     - Two extra root namespaces are predefined: `\_PR` and `\_TZ`
-    ///     - Processors are expected to be defined with `DefProcessor`, instead of `DefDevice`
-    ///     - Processors are expected to be found in `\_PR`, instead of `\_SB`
-    ///     - Thermal zones are expected to be found in `\_TZ`, instead of `\_SB`
+    /// - Two extra root namespaces are predefined: `\_PR` and `\_TZ`
+    /// - Processors are expected to be defined with `DefProcessor`, instead of `DefDevice`
+    /// - Processors are expected to be found in `\_PR`, instead of `\_SB`
+    /// - Thermal zones are expected to be found in `\_TZ`, instead of `\_SB`
     pub fn new(handler: Box<dyn Handler>, legacy_mode: bool, debug_verbosity: DebugVerbosity) -> AmlContext {
         let mut context = AmlContext {
             handler,