Lints and suggestions for the Nix programming language

chore: rename DeprecatedIsNull -> DeprecatedToPath

Corrects a typo

+2 -2
+2 -2
lib/src/lints/deprecated_to_path.rs
··· 33 33 code = 17, 34 34 match_with = SyntaxKind::NODE_APPLY 35 35 )] 36 - struct DeprecatedIsNull; 36 + struct DeprecatedToPath; 37 37 38 38 static ALLOWED_PATHS: &[&str; 2] = &["builtins.toPath", "toPath"]; 39 39 40 - impl Rule for DeprecatedIsNull { 40 + impl Rule for DeprecatedToPath { 41 41 fn validate(&self, node: &SyntaxElement, _sess: &SessionInfo) -> Option<Report> { 42 42 if let NodeOrToken::Node(node) = node 43 43 && let Some(apply) = Apply::cast(node.clone())