Skip to content

Commit

Permalink
Explain status of content module
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 3, 2017
1 parent 02e6c04 commit 066c9a1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion serde/src/de/content.rs
Original file line number Diff line number Diff line change
@@ -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::marker::PhantomData;

Expand All @@ -22,7 +34,6 @@ use de::{
/// deserializing untagged enums and internally tagged enums.
///
/// Not public API. Use serde-value instead.
#[allow(missing_docs)]
#[derive(Debug)]
pub enum Content<E> {
// Don't mind the PhantomData, just need to use E somewhere.
Expand Down

0 comments on commit 066c9a1

Please sign in to comment.