[ty] Minor: 'can not' => cannot (#20260)

This commit is contained in:
David Peter 2025-09-05 09:19:14 +02:00 committed by GitHub
parent a24a4b55ee
commit 7509d376eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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"));