Skip to content

Commit 337f387

Browse files
committed
Name one more ruleset
1 parent d37ccef commit 337f387

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/rulesets/ty_based.rs

+9
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,15 @@ pub static KNOWN_TY_BASED_BUNDLES: &[BundleDoc<RuleOptions>] = &[
548548
ruleset: RuleOptions::RFC3627_2021,
549549
doc: "The accepted RFC3627 behavior under edition 2021",
550550
},
551+
BundleDoc {
552+
name: "rfc3627_2021_always_eat_both",
553+
ruleset: RuleOptions {
554+
fallback_to_outer: FallbackToOuterBehavior::EatBoth,
555+
..RuleOptions::RFC3627_2021
556+
},
557+
doc: "Variant of `rfc3627_2021` proposed by @dianne that always \
558+
eats two layers of references.",
559+
},
551560
BundleDoc {
552561
name: "rfc3627_2024_min",
553562
ruleset: RuleOptions::ERGO2024_BREAKING_ONLY,

0 commit comments

Comments
 (0)