Use nightly rustfmt with rustfmt.toml (#536)

This commit is contained in:
Charlie Marsh
2022-11-01 20:34:38 -04:00
committed by GitHub
parent c68c6b5424
commit 79ca66ace5
40 changed files with 277 additions and 202 deletions

View File

@@ -186,7 +186,8 @@ pub fn match_annotated_subscript(
None
}
/// Returns `true` if `Expr` represents a reference to a typing object with a PEP 585 built-in.
/// Returns `true` if `Expr` represents a reference to a typing object with a
/// PEP 585 built-in.
pub fn is_pep585_builtin(expr: &Expr, typing_imports: Option<&BTreeSet<&str>>) -> bool {
match &expr.node {
ExprKind::Attribute { attr, value, .. } => {