Fix typos detected by crate-ci/typos

This commit is contained in:
Mikayla 2024-01-17 14:31:21 -08:00
parent df67917768
commit 57400e9687
No known key found for this signature in database
71 changed files with 133 additions and 133 deletions

View file

@ -2253,7 +2253,7 @@ impl LspCommand for InlayHints {
language_server_for_buffer(&project, &buffer, server_id, &mut cx)?;
// `typescript-language-server` adds padding to the left for type hints, turning
// `const foo: boolean` into `const foo : boolean` which looks odd.
// `rust-analyzer` does not have the padding for this case, and we have to accomodate both.
// `rust-analyzer` does not have the padding for this case, and we have to accommodate both.
//
// We could trim the whole string, but being pessimistic on par with the situation above,
// there might be a hint with multiple whitespaces at the end(s) which we need to display properly.