Skip to content

Commit c466be0

Browse files
committed
Added error documentation for write_fmt
This continuation of work at rust-lang#98861
1 parent 442f997 commit c466be0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/core/src/fmt/mod.rs

+5
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ pub trait Write {
174174
/// This method should generally not be invoked manually, but rather through
175175
/// the [`write!`] macro itself.
176176
///
177+
/// # Errors
178+
///
179+
/// This function will return an instance of [`Error`] on error. Please see
180+
/// [write_str](Write::write_str) for details.
181+
///
177182
/// # Examples
178183
///
179184
/// ```

0 commit comments

Comments
 (0)