From 730ddbc502ebcbfaead3684cac7d8677b3d0e4b4 Mon Sep 17 00:00:00 2001 From: Tim Small Date: Wed, 15 Oct 2025 15:09:48 +0100 Subject: [PATCH] docs: Fix copy paste errors heapless::Vec -> [std|alloc]::vec::Vec --- source/postcard/src/ser/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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