mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 17:18:08 +00:00
Add prelude imports to nested content modules
This commit is contained in:
@@ -216,6 +216,10 @@ mod content {
|
||||
|
||||
use crate::lib::*;
|
||||
|
||||
// Explicit prelude import for wasm32v1-none and other no_std targets
|
||||
#[allow(unused_imports)]
|
||||
use ::core::prelude::rust_2021::*;
|
||||
|
||||
use crate::de::{
|
||||
self, Deserialize, DeserializeSeed, Deserializer, EnumAccess, Expected, IgnoredAny,
|
||||
MapAccess, SeqAccess, Unexpected, Visitor,
|
||||
|
||||
@@ -343,6 +343,10 @@ where
|
||||
mod content {
|
||||
use crate::lib::*;
|
||||
|
||||
// Explicit prelude import for wasm32v1-none and other no_std targets
|
||||
#[allow(unused_imports)]
|
||||
use ::core::prelude::rust_2021::*;
|
||||
|
||||
use crate::ser::{self, Serialize, Serializer};
|
||||
|
||||
pub struct SerializeTupleVariantAsMapValue<M> {
|
||||
|
||||
Reference in New Issue
Block a user