Skip to content

Commit

Permalink
Upgrade to derive_more 1.0.0
Browse files Browse the repository at this point in the history
Summary: Update to the latest version. See https://fb.workplace.com/groups/rust.language/posts/26766695309619064 for details.

Reviewed By: zertosh, dtolnay

Differential Revision: D61759197

fbshipit-source-id: 61e6299f588efd607427bd467d43b36c8548d796
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Aug 25, 2024
1 parent 8741987 commit a17e3e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anyhow = "1.0.75"
attr_parser = { path = "../attr_parser" }
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
convert_case = "0.4.0"
derive_more = "0.99.17"
derive_more = { version = "1.0.0", features = ["full"] }
indexmap = { version = "2.2.6", features = ["arbitrary", "rayon", "serde"] }
serde = { version = "1.0.185", features = ["derive", "rc"] }
signed_source = { path = "../../signed_source" }
Expand Down
8 changes: 4 additions & 4 deletions vendor/ocaml/interop/rust_to_ocaml/rust_to_ocaml/ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,21 +149,21 @@ pub struct VariantName(pub String);

impl std::fmt::Debug for ModuleName {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
std::fmt::Debug::fmt(&self.0, f)
}
}
impl std::fmt::Debug for TypeName {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
std::fmt::Debug::fmt(&self.0, f)
}
}
impl std::fmt::Debug for FieldName {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
std::fmt::Debug::fmt(&self.0, f)
}
}
impl std::fmt::Debug for VariantName {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
std::fmt::Debug::fmt(&self.0, f)
}
}

0 comments on commit a17e3e6

Please sign in to comment.