Move doctest-only helpers to a doc module

This commit is contained in:
David Tolnay
2021-01-23 22:24:20 -08:00
parent 9fd56cd41c
commit e61261e002
6 changed files with 36 additions and 33 deletions
+1 -1
View File
@@ -711,7 +711,7 @@ pub trait Serializer: Sized {
///
/// ```edition2018
/// # use serde::ser::{Serializer, SerializeSeq};
/// # use serde::__private::ser::Error;
/// # use serde::__private::doc::Error;
/// #
/// # struct MySerializer;
/// #