Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c466be0

Browse files
committedJan 3, 2023
Added error documentation for write_fmt
This continuation of work at #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

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)
Please sign in to comment.