aboutsummaryrefslogtreecommitdiffstats
path: root/src/pipe/status_pipe.rs
diff options
context:
space:
mode:
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 }
}