Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Oct 17, 2024
1 parent 1c30047 commit dfbc8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh-ext/src/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub fn z_serialize<T: Serialize + ?Sized>(t: &T) -> ZBytes {
///
/// ```rust
/// use zenoh_ext::*;
/// let zbytes = z_try_serialize(&CString::new("new(b"Invalid utf8: \xff");
/// let zbytes = z_try_serialize(&CString::new(b"Invalid utf8: \xff");
/// assert!(zbytes.is_err());
/// ```
///
Expand Down

0 comments on commit dfbc8f3

Please sign in to comment.