Skip to content

Commit f313bc9

Browse files
authored
Apply suggestions from code review
1 parent 86d0f33 commit f313bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lints/pub_api_sealed_trait_became_unconditionally_sealed.ron

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SemverQuery(
22
id: "pub_api_sealed_trait_became_unconditionally_sealed",
33
human_readable_name: "public API sealed trait became unconditionally sealed",
4-
description: "A public API sealed trait has become unconditionally sealed, blocking all external implementations including those from first-party crates that rely on the non-public API.",
4+
description: "A public API sealed trait has become unconditionally sealed, blocking all downstream implementations including those from first-party crates that rely on the non-public API.",
55
required_update: Minor,
66
lint_level: Warn,
77
reference_link: Some("https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed"),
@@ -48,7 +48,7 @@ SemverQuery(
4848
"public": "public",
4949
"true": true,
5050
},
51-
error_message: "A public API sealed trait has become unconditionally sealed, blocking all external implementations including those from first-party crates that rely on the non-public API.",
51+
error_message: "A public API sealed trait has become unconditionally sealed, blocking all downstream implementations including those from first-party crates that rely on the non-public API.",
5252
per_result_error_template: Some("trait {{join \"::\" path}} in file {{span_filename}}:{{span_begin_line}}"),
5353
witness: None,
5454
)

0 commit comments

Comments
 (0)