Skip to content

Commit

Permalink
missed Vec declaration for alloc version of serial client and server
Browse files Browse the repository at this point in the history
  • Loading branch information
N8BWert committed Sep 14, 2024
1 parent 517991b commit d387b2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ncomm-clients-and-servers/src/serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ use embedded_io::{Error, Read, ReadReady, Write};
use ncomm_core::client_server::{Client, Server};
use ncomm_utils::packing::{Packable, PackingError};

#[cfg(feature = "std")]
use std::vec::Vec;
#[cfg(feature = "alloc")]
use alloc::vec::Vec;

/// An Error regarding sending and receiving data via serial
#[derive(Debug)]
pub enum SerialClientServerError<Err: Error> {
Expand Down

0 comments on commit d387b2e

Please sign in to comment.