Skip to content

Commit

Permalink
impl Default for fmt::FormattingOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasHolzmann authored and gitbot committed Feb 20, 2025
1 parent fd1eca3 commit a5074bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ pub enum DebugAsHex {
///
/// `FormattingOptions` is a [`Formatter`] without an attached [`Write`] trait.
/// It is mainly used to construct `Formatter` instances.
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Default)]
#[unstable(feature = "formatting_options", issue = "118117")]
pub struct FormattingOptions {
sign: Option<Sign>,
Expand Down

0 comments on commit a5074bc

Please sign in to comment.