瀏覽代碼

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,