Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/core/src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ pub trait UpperExp: PointeeSized {
///
/// let mut output = String::new();
/// fmt::write(&mut output, format_args!("Hello {}!", "world"))
/// .expect("Error occurred while trying to write in String");
/// .expect("Writing to a `String` should not fail");
/// assert_eq!(output, "Hello world!");
/// ```
///
Expand All @@ -1622,7 +1622,7 @@ pub trait UpperExp: PointeeSized {
///
/// let mut output = String::new();
/// write!(&mut output, "Hello {}!", "world")
/// .expect("Error occurred while trying to write in String");
/// .expect("Writing to a `String` should not fail");
/// assert_eq!(output, "Hello world!");
/// ```
///
Expand Down
Loading