From 6606e5fb5bd1c7cd947d898272fc62b7bb2e0ee4 Mon Sep 17 00:00:00 2001 From: Danny McGee Date: Tue, 19 Dec 2023 18:08:58 -0500 Subject: [PATCH] Fix type mismatch in doctest --- studio-bvh/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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