Skip to content

Commit

Permalink
Merge pull request #1077 from jayvdb/update-derive-more
Browse files Browse the repository at this point in the history
chore(deps): Update derive_more to v1.0
  • Loading branch information
epage authored Aug 16, 2024
2 parents 88c7463 + 9cfa3d3 commit 10a72c9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 27 deletions.
37 changes: 12 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/typos-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ proc-exit = "2.0"
human-panic = "2.0.0"
content_inspector = "0.2.4"
unicode-segmentation = "1.11.0"
derive_more = "0.99.17"
derive_more = { version = "1.0", features = ["from", "display"] }
derive_setters = "0.1"
itertools = "0.13"
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/typos-cli/src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl<'m> Message<'m> {
}

#[derive(Clone, Debug, serde::Serialize, derive_more::Display, derive_setters::Setters)]
#[display(fmt = "Skipping binary file {}", "path.display()")]
#[display("Skipping binary file {}", "path.display()")]
#[non_exhaustive]
pub struct BinaryFile<'m> {
pub path: &'m std::path::Path,
Expand Down

0 comments on commit 10a72c9

Please sign in to comment.