Fix typos

This commit is contained in:
Ian Manske 2024-11-24 13:19:17 -08:00
parent 9f3b5244f5
commit f23b381770
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ pub enum ParseError {
},
/// The operator supports the types of both values, but not the specific combination of their types.
#[error("Types '{lhs}' and '{rhs}' are not compatiable for the '{op}' operator.")]
#[error("Types '{lhs}' and '{rhs}' are not compatible for the '{op}' operator.")]
#[diagnostic(code(nu::parser::operator_incompatible_types))]
OperatorIncompatibleTypes {
op: &'static str,

View file

@ -27,7 +27,7 @@ pub enum ShellError {
},
/// The operator supports the types of both values, but not the specific combination of their types.
#[error("Types '{lhs}' and '{rhs}' are not compatiable for the '{op}' operator.")]
#[error("Types '{lhs}' and '{rhs}' are not compatible for the '{op}' operator.")]
#[diagnostic(code(nu::shell::operator_incompatible_types))]
OperatorIncompatibleTypes {
op: Operator,