From cedd4f423108fea928549e92694d6250206e172f Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 10 Aug 2026 10:38:20 -0700 Subject: [PATCH] Fix a Cargo lint deprecation Cargo 1.99-nightly now emits several messages like this: > warning: Cargo.toml: `lints.rust.missing-docs` is deprecated in favor > of `lints.rust.missing_docs` and will not work in a future edition The underscore form works fine on stable, so we can migrate now. --- Cargo.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ea88cea..34a8db1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,13 +18,13 @@ default = ["std"] std = [] [lints.rust] -missing-docs = "deny" -private-bounds = "deny" -private-interfaces = "deny" -unconditional-recursion = "deny" -unnameable-types = "deny" -unreachable-pub = "deny" +missing_docs = "deny" +private_bounds = "deny" +private_interfaces = "deny" +unconditional_recursion = "deny" +unnameable_types = "deny" +unreachable_pub = "deny" [lints.rustdoc] -broken-intra-doc-links = "deny" -private-intra-doc-links = "deny" +broken_intra_doc_links = "deny" +private_intra_doc_links = "deny"