diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-11-26 04:12:14 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-11-26 04:12:14 +0100 |
| commit | c257893da9f31337861a59e71022609e1bbaad95 (patch) | |
| tree | 802bdbe7c395579481ce368874918a577434148a /examples/std/src/serial_port.rs | |
| parent | 539c007b44bb67feee6db7d021887faa14c62e8b (diff) | |
net: update smoltcp
Diffstat (limited to 'examples/std/src/serial_port.rs')
| -rw-r--r-- | examples/std/src/serial_port.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/std/src/serial_port.rs b/examples/std/src/serial_port.rs index aadaeb81d..6825cbebc 100644 --- a/examples/std/src/serial_port.rs +++ b/examples/std/src/serial_port.rs | |||
| @@ -9,7 +9,7 @@ pub struct SerialPort { | |||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | impl SerialPort { | 11 | impl SerialPort { |
| 12 | pub fn new<'a, P: ?Sized + nix::NixPath>( | 12 | pub fn new<P: ?Sized + nix::NixPath>( |
| 13 | path: &P, | 13 | path: &P, |
| 14 | baudrate: termios::BaudRate, | 14 | baudrate: termios::BaudRate, |
| 15 | ) -> io::Result<Self> { | 15 | ) -> io::Result<Self> { |
