mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 04:41:01 +00:00
Add write macro import to de.rs
This commit is contained in:
@@ -3,6 +3,8 @@ use crate::lib::*;
|
|||||||
// Explicit prelude import for wasm32v1-none and other no_std targets
|
// Explicit prelude import for wasm32v1-none and other no_std targets
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use ::core::prelude::rust_2021::*;
|
use ::core::prelude::rust_2021::*;
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
use ::core::write;
|
||||||
|
|
||||||
use crate::de::value::{BorrowedBytesDeserializer, BytesDeserializer};
|
use crate::de::value::{BorrowedBytesDeserializer, BytesDeserializer};
|
||||||
use crate::de::{
|
use crate::de::{
|
||||||
@@ -219,6 +221,8 @@ mod content {
|
|||||||
// Explicit prelude import for wasm32v1-none and other no_std targets
|
// Explicit prelude import for wasm32v1-none and other no_std targets
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use ::core::prelude::rust_2021::*;
|
use ::core::prelude::rust_2021::*;
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
use ::core::write;
|
||||||
|
|
||||||
use crate::de::{
|
use crate::de::{
|
||||||
self, Deserialize, DeserializeSeed, Deserializer, EnumAccess, Expected, IgnoredAny,
|
self, Deserialize, DeserializeSeed, Deserializer, EnumAccess, Expected, IgnoredAny,
|
||||||
|
|||||||
Reference in New Issue
Block a user