aboutsummaryrefslogtreecommitdiffstats
path: root/src/pipe/status_bk.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_bk.rs
parent27177f3d9b82c51a1131784123e9492f6d852c45 (diff)
downloadatsamd-usb-host-58a268850f34b660c9c71a3442b7cc70d21944da.tar.gz
atsamd-usb-host-58a268850f34b660c9c71a3442b7cc70d21944da.zip
Clippy.
Diffstat (limited to 'src/pipe/status_bk.rs')
-rw-r--r--src/pipe/status_bk.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe/status_bk.rs b/src/pipe/status_bk.rs
index 489fc62..50a549c 100644
--- a/src/pipe/status_bk.rs
+++ b/src/pipe/status_bk.rs
@@ -17,7 +17,7 @@ pub(crate) struct W {
}
impl StatusBk {
- pub fn read(&self) -> R {
+ pub fn read(self) -> R {
R { bits: self.0 }
}