mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:16 +00:00
[ty] Minor: 'can not' => cannot (#20260)
This commit is contained in:
parent
a24a4b55ee
commit
7509d376eb
3 changed files with 5 additions and 5 deletions
|
@ -165,7 +165,7 @@ pub(super) fn validate_typed_dict_key_assignment<'db, 'ast>(
|
|||
let typed_dict_d = typed_dict_ty.display(db);
|
||||
|
||||
let mut diagnostic = builder.into_diagnostic(format_args!(
|
||||
"Can not assign to key \"{key}\" on TypedDict `{typed_dict_d}`",
|
||||
"Cannot assign to key \"{key}\" on TypedDict `{typed_dict_d}`",
|
||||
));
|
||||
|
||||
diagnostic.set_primary_message(format_args!("key is marked read-only"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue