Skip to content

Commit 6d8ac83

Browse files
author
Yuki Okushi
authored
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
Added error documentation for write_fmt This continuation of work at #98861
2 parents 6702f20 + c466be0 commit 6d8ac83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/core/src/fmt/mod.rs

Lines changed: 5 additions & 0 deletions
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)