diff --git a/source/postcard/src/ser/mod.rs b/source/postcard/src/ser/mod.rs index e2fa32ac..564dbf7c 100644 --- a/source/postcard/src/ser/mod.rs +++ b/source/postcard/src/ser/mod.rs @@ -385,7 +385,7 @@ where flavors::crc::to_vec_u32(value, digest) } -/// Conveniently serialize a `T` to a `heapless::Vec`, with the `Vec` containing +/// Conveniently serialize a `T` to a `std::vec::Vec`, with the `Vec` containing /// data followed by a 32-bit CRC. The CRC bytes are included in the output `Vec`. /// /// ## Example @@ -416,7 +416,7 @@ where flavors::crc::to_allocvec_u32(value, digest) } -/// Conveniently serialize a `T` to a `heapless::Vec`, with the `Vec` containing +/// Conveniently serialize a `T` to an `alloc::vec::Vec`, with the `Vec` containing /// data followed by a 32-bit CRC. The CRC bytes are included in the output `Vec`. /// /// ## Example