Skip to content

Commit 2bac9f3

Browse files
committed
aml: make crate-level comment clearer
1 parent d7b1f14 commit 2bac9f3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

aml/src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
//! hardware-independent way.
55
//!
66
//! ### Using the library
7-
//! To use the library, you should create an instance of this type using `AmlContext::new()`, and
8-
//! then pass it tables containing AML (probably from the `acpi` crate), which you've mapped into
9-
//! the virtual address space. This will parse the table, populating the namespace with objects
10-
//! encoded by the AML. After this, you may unmap the memory the table was mapped into - all the
11-
//! information needed will be extracted and allocated on the heap.
7+
//! To use the library, you should create an `AmlContext` using `AmlContext::new()`, and then pass it tables
8+
//! containing AML (probably from the `acpi` crate), which you've mapped into the virtual address space. This will
9+
//! parse the table, populating the namespace with objects encoded by the AML. After this, you may unmap the memory
10+
//! the table was mapped into - all the information needed will be extracted and allocated on the heap.
1211
//!
1312
//! You can then access specific objects by name like so: e.g.
1413
//! ```ignore

0 commit comments

Comments
 (0)