We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b78a8 commit 95beb9dCopy full SHA for 95beb9d
src/borsh.rs
@@ -2,7 +2,7 @@ use crate::{Repr, SmolStr, INLINE_CAP};
2
use alloc::string::{String, ToString};
3
use borsh::io::{Error, ErrorKind, Read, Write};
4
use borsh::{BorshDeserialize, BorshSerialize};
5
-use core::intrinsics::transmute;
+use core::mem::transmute;
6
7
impl BorshSerialize for SmolStr {
8
fn serialize<W: Write>(&self, writer: &mut W) -> borsh::io::Result<()> {
0 commit comments