aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/logger.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/logger.rs')
-rw-r--r--examples/simple/logger.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/logger.rs b/examples/simple/logger.rs
index 9641dac..be9d391 100644
--- a/examples/simple/logger.rs
+++ b/examples/simple/logger.rs
@@ -49,7 +49,7 @@ impl<W> WriteWrapper<W>
where
W: serial::Write<u8>,
{
- pub const fn new(writer: W) -> Self {
+ pub fn new(writer: W) -> Self {
Self { w: writer }
}
}