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 2297008 commit a94b2ffCopy full SHA for a94b2ff
src/lib.rs
@@ -199,7 +199,7 @@ fn _ensure_sync() {
199
use crate::class_prelude::*;
200
201
struct DummyBus<'a> {
202
- a: &'a str,
+ _a: &'a str,
203
}
204
205
impl UsbBus for DummyBus<'_> {
@@ -239,12 +239,14 @@ fn _ensure_sync() {
239
240
241
struct DummyClass<'a, B: UsbBus> {
242
- ep: crate::endpoint::EndpointIn<'a, B>,
+ _ep: crate::endpoint::EndpointIn<'a, B>,
243
244
245
impl<B: UsbBus> DummyClass<'_, B> {
246
- fn new(alloc: &UsbBusAllocator<B>) -> DummyClass<'_, B> {
247
- DummyClass { ep: alloc.bulk(64) }
+ fn _new(alloc: &UsbBusAllocator<B>) -> DummyClass<'_, B> {
+ DummyClass {
248
+ _ep: alloc.bulk(64),
249
+ }
250
251
252
0 commit comments