We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d4892 commit f86952cCopy full SHA for f86952c
src/lib.rs
@@ -151,16 +151,7 @@ pub fn list_devices() -> Result<impl Iterator<Item = DeviceInfo>, Error> {
151
152
/// Get an iterator listing the system USB buses.
153
///
154
-/// ### Examples
155
-///
156
-/// Filter for a specific bus ID:
157
158
-/// ```no_run
159
-/// use nusb;
160
-/// let hub = nusb::list_buses().unwrap()
161
-/// .find(|bus| bus.bus_id().parse() == Ok(1))
162
-/// .expect("bus #1 not found");
163
-/// ```
+/// ### Example
164
165
/// Group devices by bus:
166
0 commit comments