mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
make some doc comments not doc tests
This commit is contained in:
parent
eae940fcef
commit
a8b0f6f239
@ -365,7 +365,7 @@ type S = &'static str;
|
||||
/// Pretty-printing details
|
||||
///
|
||||
/// Example:
|
||||
/// ```
|
||||
/// ```rust,ignore (private type)
|
||||
/// DisplayFmtWrapper {
|
||||
/// top: '>',
|
||||
/// bot: '<',
|
||||
@ -393,7 +393,7 @@ struct DisplayFmtWrapper {
|
||||
/// Formating of the permissions on each range.
|
||||
///
|
||||
/// Example:
|
||||
/// ```
|
||||
/// ```rust,ignore (private type)
|
||||
/// DisplayFmtPermission {
|
||||
/// open: "[",
|
||||
/// sep: "|",
|
||||
@ -425,7 +425,7 @@ struct DisplayFmtPermission {
|
||||
/// Formating of the tree structure.
|
||||
///
|
||||
/// Example:
|
||||
/// ```
|
||||
/// ```rust,ignore (private type)
|
||||
/// DisplayFmtPadding {
|
||||
/// join_middle: "|-",
|
||||
/// join_last: "'-",
|
||||
@ -463,7 +463,7 @@ struct DisplayFmtPadding {
|
||||
/// How to show whether a location has been accessed
|
||||
///
|
||||
/// Example:
|
||||
/// ```
|
||||
/// ```rust,ignore (private type)
|
||||
/// DisplayFmtAccess {
|
||||
/// yes: " ",
|
||||
/// no: "?",
|
||||
|
@ -132,7 +132,7 @@ where
|
||||
/// the associated `UniIndex` from ALL `UniValMap`s.
|
||||
///
|
||||
/// Example of such behavior:
|
||||
/// ```
|
||||
/// ```rust,ignore (private type can't be doctested)
|
||||
/// let mut keymap = UniKeyMap::<char>::default();
|
||||
/// let mut valmap = UniValMap::<char>::default();
|
||||
/// // Insert 'a' -> _ -> 'A'
|
||||
|
Loading…
Reference in New Issue
Block a user