diff options
author | Brian Cully <bjc@kublai.com> | 2019-09-09 21:19:01 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-09-09 21:19:01 -0400 |
commit | 58a268850f34b660c9c71a3442b7cc70d21944da (patch) | |
tree | eb730c6f5590a1825aae0651c5bd0f8835806f18 /src/pipe/status_pipe.rs | |
parent | 27177f3d9b82c51a1131784123e9492f6d852c45 (diff) | |
download | atsamd-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.rs | 2 |
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 } } |