diff --git a/studio-bvh/src/lib.rs b/studio-bvh/src/lib.rs index 90b214a..0b8b1c0 100644 --- a/studio-bvh/src/lib.rs +++ b/studio-bvh/src/lib.rs @@ -781,7 +781,7 @@ impl ChannelType { /// ChannelType::RotationX); /// /// let err = ChannelType::from_bytes("Hello").unwrap_err(); - /// assert_eq!(err.into_inner(), "Hello"); + /// assert_eq!(&err.into_inner(), b"Hello"); /// ``` #[inline] pub fn from_bytes(s: &B) -> Result