mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 18:41:01 +00:00
Explain status of content module
This commit is contained in:
+12
-1
@@ -1,3 +1,15 @@
|
|||||||
|
// This module is doc(hidden) and nothing here should be used outside of
|
||||||
|
// generated code.
|
||||||
|
//
|
||||||
|
// We will iterate on the implementation for a few releases and only have to
|
||||||
|
// worry about backward compatibility for the `untagged` and `tag` attributes
|
||||||
|
// rather than for this entire mechanism.
|
||||||
|
//
|
||||||
|
// This issue is tracking making some of this stuff public:
|
||||||
|
// https://github.com/serde-rs/serde/issues/741
|
||||||
|
|
||||||
|
#![doc(hidden)]
|
||||||
|
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
|
|
||||||
@@ -22,7 +34,6 @@ use de::{
|
|||||||
/// deserializing untagged enums and internally tagged enums.
|
/// deserializing untagged enums and internally tagged enums.
|
||||||
///
|
///
|
||||||
/// Not public API. Use serde-value instead.
|
/// Not public API. Use serde-value instead.
|
||||||
#[allow(missing_docs)]
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum Content<E> {
|
pub enum Content<E> {
|
||||||
// Don't mind the PhantomData, just need to use E somewhere.
|
// Don't mind the PhantomData, just need to use E somewhere.
|
||||||
|
|||||||
Reference in New Issue
Block a user