Skip to content

Commit

Permalink
Name one more ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Jan 27, 2025
1 parent d37ccef commit 337f387
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/rulesets/ty_based.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,15 @@ pub static KNOWN_TY_BASED_BUNDLES: &[BundleDoc<RuleOptions>] = &[
ruleset: RuleOptions::RFC3627_2021,
doc: "The accepted RFC3627 behavior under edition 2021",
},
BundleDoc {
name: "rfc3627_2021_always_eat_both",
ruleset: RuleOptions {
fallback_to_outer: FallbackToOuterBehavior::EatBoth,
..RuleOptions::RFC3627_2021
},
doc: "Variant of `rfc3627_2021` proposed by @dianne that always \
eats two layers of references.",
},
BundleDoc {
name: "rfc3627_2024_min",
ruleset: RuleOptions::ERGO2024_BREAKING_ONLY,
Expand Down

0 comments on commit 337f387

Please sign in to comment.