aboutsummaryrefslogtreecommitdiff
path: root/src/de.rs
diff options
context:
space:
mode:
authorest31 <est31@users.noreply.github.com>2019-09-09 20:04:47 +0200
committerAlex Crichton <alex@alexcrichton.com>2019-09-09 13:04:47 -0500
commit029908cfa6507ca7db0f74fe46854cc0043fe806 (patch)
treed41c529dab34378db19f143bbae1bc6bf31692c9 /src/de.rs
parent95d419ba990920dfdc30b7b88d6df1c0d2d5737f (diff)
downloadmilf-rs-029908cfa6507ca7db0f74fe46854cc0043fe806.tar.gz
milf-rs-029908cfa6507ca7db0f74fe46854cc0043fe806.zip
Remove redundant #[doc(hidden)] attributes (#331)
Diffstat (limited to 'src/de.rs')
-rw-r--r--src/de.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/de.rs b/src/de.rs
index 03372c6..439a48a 100644
--- a/src/de.rs
+++ b/src/de.rs
@@ -325,8 +325,7 @@ struct Table<'a> {
array: bool,
}
-#[doc(hidden)]
-pub struct MapVisitor<'de, 'b> {
+struct MapVisitor<'de, 'b> {
values: vec::IntoIter<TablePair<'de>>,
next_value: Option<TablePair<'de>>,
depth: usize,
@@ -1883,10 +1882,7 @@ impl Error {
}
}
- /// Do not call this method, it may be removed at any time, it's just an
- /// internal implementation detail.
- #[doc(hidden)]
- pub fn add_key_context(&mut self, key: &str) {
+ pub(crate) fn add_key_context(&mut self, key: &str) {
self.inner.key.insert(0, key.to_string());
}