Rollup merge of #28511 - llogiq:printdoc, r=steveklabnik
This closes #28510.
This commit is contained in:
commit
0622cf3ddd
1 changed files with 8 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ macro_rules! panic {
|
|||
/// necessary to use `io::stdout().flush()` to ensure the output is emitted
|
||||
/// immediately.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if writing to `io::stdout()` fails.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
|
|
@ -99,6 +103,10 @@ macro_rules! print {
|
|||
/// Use the `format!` syntax to write data to the standard output.
|
||||
/// See `std::fmt` for more information.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if writing to `io::stdout()` fails.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue