mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
Fix type mismatch in doctest
This commit is contained in:
@@ -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<B>(s: &B) -> Result<Self, ParseChannelError>
|
||||
|
||||
Reference in New Issue
Block a user