Skip to content

Commit 3bda303

Browse files
authored
extend core::fmt impl to cover all lifetimes
1 parent d45af5f commit 3bda303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! TODO write example of usage
44
use core::fmt::{Result, Write};
55

6-
impl<Word, Error> Write for dyn (crate::serial::Write<Word, Error = Error>)
6+
impl<Word, Error> Write for dyn crate::serial::Write<Word, Error = Error> + '_
77
where
88
Word: From<u8>,
99
{

0 commit comments

Comments
 (0)