style(xatu): clarify manual inherit diagnostic
This commit is contained in:
@@ -15,7 +15,7 @@ impl NodeRule for ManualInherit {
|
||||
|
||||
fn check(node: &Self::Node) -> Option<&'static str> {
|
||||
if node.key == node.value {
|
||||
Some("This assignment is better written with `inherit`")
|
||||
Some("Use `inherit` for this assignment")
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user