From 016c0e7ba7adf0abd865ce649cad2c7bf75fcbb8 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Tue, 26 Aug 2025 10:11:27 +0930 Subject: [PATCH] README: Update use statement to reflect current module hierarchy 5cfa83666008 ("tree-wide: Improve organisation of the tree") rearranged where types were exposed by the library, so update the README to reflect that. Fixes: 5cfa83666008 ("tree-wide: Improve organisation of the tree") Signed-off-by: Andrew Jeffery --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f37dd49..10024d2 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ creates two namespaces in a subsystem with one controller, one PCIe port, and one two-wire port. One of the namespaces is attached to the controller: ```rust -use nvme_mi_dev::nvme::{ - ManagementEndpoint, PciePort, PortType, Subsystem, SubsystemInfo, TwoWirePort, +use nvme_mi_dev::{ + ManagementEndpoint, PciePort, PortType, Subsystem, SubsystemInfo, + TwoWirePort, }; async fn nvme_mi<'a>(router: &'a Router<'a>) -> std::io::Result<()> {