Skip to content

Commit 6f5f155

Browse files
authored
Fix docs for into_vec
1 parent 0740680 commit 6f5f155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ where
284284
Ok(serializer.into_vec())
285285
}
286286

287-
/// Serialize the given `T` as a BSON byte vector into the provided writer.
287+
/// Serialize the given `T` as a BSON byte vector into the provided `Vec`.
288288
#[inline]
289289
pub fn into_vec<T>(value: &T, vec: Vec<u8>) -> Result<Vec<u8>>
290290
where

0 commit comments

Comments
 (0)