mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
Added error documentation for write_fmt
This continuation of work at rust-lang#98861
This commit is contained in:
committed by
Alexander Shirokov
parent
442f997f98
commit
c466be040f
@@ -174,6 +174,11 @@ fn write_char(&mut self, c: char) -> Result {
|
||||
/// 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
|
||||
///
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user