Skip to content

Commit 016c0e7

Browse files
committed
README: Update use statement to reflect current module hierarchy
5cfa836 ("tree-wide: Improve organisation of the tree") rearranged where types were exposed by the library, so update the README to reflect that. Fixes: 5cfa836 ("tree-wide: Improve organisation of the tree") Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
1 parent b6614f2 commit 016c0e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ creates two namespaces in a subsystem with one controller, one PCIe port, and
1111
one two-wire port. One of the namespaces is attached to the controller:
1212

1313
```rust
14-
use nvme_mi_dev::nvme::{
15-
ManagementEndpoint, PciePort, PortType, Subsystem, SubsystemInfo, TwoWirePort,
14+
use nvme_mi_dev::{
15+
ManagementEndpoint, PciePort, PortType, Subsystem, SubsystemInfo,
16+
TwoWirePort,
1617
};
1718

1819
async fn nvme_mi<'a>(router: &'a Router<'a>) -> std::io::Result<()> {

0 commit comments

Comments
 (0)