diff options
-rw-r--r-- | devices/src/register_space/register_space.rs | 1 | ||||
-rw-r--r-- | devices/src/usb/xhci/ring_buffer.rs | 1 | ||||
-rw-r--r-- | tempfile/src/lib.rs | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/devices/src/register_space/register_space.rs b/devices/src/register_space/register_space.rs index 892961a..3f30ac0 100644 --- a/devices/src/register_space/register_space.rs +++ b/devices/src/register_space/register_space.rs @@ -293,5 +293,4 @@ mod tests { regs.read(8, &mut data); assert_eq!([0, 0, 0xff, 0xee, 0xff, 0xee, 0xff, 0xee], data); } - } diff --git a/devices/src/usb/xhci/ring_buffer.rs b/devices/src/usb/xhci/ring_buffer.rs index a178ebb..3033b0e 100644 --- a/devices/src/usb/xhci/ring_buffer.rs +++ b/devices/src/usb/xhci/ring_buffer.rs @@ -264,5 +264,4 @@ mod test { let descriptor = transfer_ring.dequeue_transfer_descriptor().unwrap(); assert_eq!(descriptor.is_none(), true); } - } diff --git a/tempfile/src/lib.rs b/tempfile/src/lib.rs index 92f766b..2ba6859 100644 --- a/tempfile/src/lib.rs +++ b/tempfile/src/lib.rs @@ -32,7 +32,6 @@ pub struct Builder { prefix: String, } - // Note: we implement a builder because the protoc-rust crate uses this API from // crates.io's tempfile. Our code mostly uses TempDir::new directly. impl Builder { @@ -90,7 +89,6 @@ impl Builder { /// dropped. pub struct TempDir { path: PathBuf, - // When adding new fields to TempDir: note that anything with a Drop impl // will need to be dropped explicitly via ptr::read inside TempDir::remove // or else it gets leaked (memory safe but not ideal). |