mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Fix type mismatch in doctest
This commit is contained in:
@@ -781,7 +781,7 @@ impl ChannelType {
|
|||||||
/// ChannelType::RotationX);
|
/// ChannelType::RotationX);
|
||||||
///
|
///
|
||||||
/// let err = ChannelType::from_bytes("Hello").unwrap_err();
|
/// let err = ChannelType::from_bytes("Hello").unwrap_err();
|
||||||
/// assert_eq!(err.into_inner(), "Hello");
|
/// assert_eq!(&err.into_inner(), b"Hello");
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn from_bytes<B>(s: &B) -> Result<Self, ParseChannelError>
|
pub fn from_bytes<B>(s: &B) -> Result<Self, ParseChannelError>
|
||||||
|
|||||||
Reference in New Issue
Block a user