aboutsummaryrefslogtreecommitdiffstats
path: root/src/pipe/status_pipe.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-09-09 21:19:01 -0400
committerBrian Cully <bjc@kublai.com>2019-09-09 21:19:01 -0400
commit58a268850f34b660c9c71a3442b7cc70d21944da (patch)
treeeb730c6f5590a1825aae0651c5bd0f8835806f18 /src/pipe/status_pipe.rs
parent27177f3d9b82c51a1131784123e9492f6d852c45 (diff)
downloadatsamd-usb-host-58a268850f34b660c9c71a3442b7cc70d21944da.tar.gz
atsamd-usb-host-58a268850f34b660c9c71a3442b7cc70d21944da.zip
Clippy.
Diffstat (limited to 'src/pipe/status_pipe.rs')
-rw-r--r--src/pipe/status_pipe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe/status_pipe.rs b/src/pipe/status_pipe.rs
index be135c5..d7db9c6 100644
--- a/src/pipe/status_pipe.rs
+++ b/src/pipe/status_pipe.rs
@@ -15,7 +15,7 @@ pub(crate) struct W {
}
impl StatusPipe {
- pub fn read(&self) -> R {
+ pub fn read(self) -> R {
R { bits: self.0 }
}