Ver Fonte

Correct outdated comment.

Isaac Woods há 5 anos atrás
pai
commit
854aa23163
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      aml/src/namespace.rs

+ 3 - 2
aml/src/namespace.rs

@@ -70,8 +70,9 @@ impl Namespace {
         }
     }
 
-    /// Add a new level to the namespace. A "level" is a `NameSeg` that can hold objects (currently, `Scope`s
-    /// and `Devices`). Once a level has been created, AML values can be added to it with `add_value`.
+    /// Add a new level to the namespace. A "level" is named by a single `NameSeg`, and can contain values, and
+    /// also other further sub-levels. Once a level has been created, AML values can be added to it with
+    /// `add_value`.
     ///
     /// ### Note
     /// At first glance, you might expect `DefDevice` to add a value of type `Device`. However, because all