diff --git a/hammond-gtk/src/utils.rs b/hammond-gtk/src/utils.rs index 2ad7c82..4c44368 100644 --- a/hammond-gtk/src/utils.rs +++ b/hammond-gtk/src/utils.rs @@ -49,7 +49,7 @@ use app::Action; /// /// let messages: Vec = Vec::new(); /// let list = gtk::ListBox::new(); -/// let constructor = |m| { MessageWidget::new(m).0}; +/// let constructor = |m| MessageWidget::new(m).0; /// lazy_load(messages, list, constructor, || {}); /// ``` /// diff --git a/rustfmt.toml b/rustfmt.toml index 898973f..8702488 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -5,7 +5,6 @@ wrap_comments = true tab_spaces = 4 hard_tabs = false newline_style = "Unix" -write_mode = "Overwrite" condense_wildcard_suffixes = false format_strings = true normalize_comments = true