Skip to content

Commit

Permalink
Added error documentation for write_fmt
Browse files Browse the repository at this point in the history
This continuation of work at #98861
  • Loading branch information
alexs-sh committed Jan 3, 2023
1 parent 442f997 commit c466be0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions library/core/src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ pub trait Write {
/// This method should generally not be invoked manually, but rather through
/// the [`write!`] macro itself.
///
/// # Errors
///
/// This function will return an instance of [`Error`] on error. Please see
/// [write_str](Write::write_str) for details.
///
/// # Examples
///
/// ```
Expand Down

0 comments on commit c466be0

Please sign in to comment.