소스 검색

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,