Fix typos detected by crate-ci/typos
This commit is contained in:
parent
df67917768
commit
57400e9687
71 changed files with 133 additions and 133 deletions
|
@ -149,7 +149,7 @@ impl Database {
|
|||
.await?;
|
||||
|
||||
// If the buffer epoch hasn't changed since the client lost
|
||||
// connection, then the client's buffer can be syncronized with
|
||||
// connection, then the client's buffer can be synchronized with
|
||||
// the server's buffer.
|
||||
if buffer.epoch as u64 != client_buffer.epoch {
|
||||
log::info!("can't rejoin buffer, epoch has changed");
|
||||
|
@ -962,7 +962,7 @@ fn version_from_storage(version: &Vec<storage::VectorClockEntry>) -> Vec<proto::
|
|||
.collect()
|
||||
}
|
||||
|
||||
// This is currently a manual copy of the deserialization code in the client's langauge crate
|
||||
// This is currently a manual copy of the deserialization code in the client's language crate
|
||||
pub fn operation_from_wire(operation: proto::Operation) -> Option<text::Operation> {
|
||||
match operation.variant? {
|
||||
proto::operation::Variant::Edit(edit) => Some(text::Operation::Edit(EditOperation {
|
||||
|
|
|
@ -203,7 +203,7 @@ async fn test_core_channels(
|
|||
executor.run_until_parked();
|
||||
|
||||
// Observe that client B is now an admin of channel A, and that
|
||||
// their admin priveleges extend to subchannels of channel A.
|
||||
// their admin privileges extend to subchannels of channel A.
|
||||
assert_channel_invitations(client_b.channel_store(), cx_b, &[]);
|
||||
assert_channels(
|
||||
client_b.channel_store(),
|
||||
|
|
|
@ -1201,7 +1201,7 @@ async fn test_on_input_format_from_host_to_guest(
|
|||
executor.run_until_parked();
|
||||
|
||||
// Receive an OnTypeFormatting request as the host's language server.
|
||||
// Return some formattings from the host's language server.
|
||||
// Return some formatting from the host's language server.
|
||||
fake_language_server.handle_request::<lsp::request::OnTypeFormatting, _, _>(
|
||||
|params, _| async move {
|
||||
assert_eq!(
|
||||
|
@ -1220,7 +1220,7 @@ async fn test_on_input_format_from_host_to_guest(
|
|||
},
|
||||
);
|
||||
|
||||
// Open the buffer on the guest and see that the formattings worked
|
||||
// Open the buffer on the guest and see that the formatting worked
|
||||
let buffer_b = project_b
|
||||
.update(cx_b, |p, cx| p.open_buffer((worktree_id, "main.rs"), cx))
|
||||
.await
|
||||
|
@ -1339,7 +1339,7 @@ async fn test_on_input_format_from_guest_to_host(
|
|||
});
|
||||
|
||||
// Receive an OnTypeFormatting request as the host's language server.
|
||||
// Return some formattings from the host's language server.
|
||||
// Return some formatting from the host's language server.
|
||||
executor.start_waiting();
|
||||
fake_language_server
|
||||
.handle_request::<lsp::request::OnTypeFormatting, _, _>(|params, _| async move {
|
||||
|
@ -1362,7 +1362,7 @@ async fn test_on_input_format_from_guest_to_host(
|
|||
.unwrap();
|
||||
executor.finish_waiting();
|
||||
|
||||
// Open the buffer on the host and see that the formattings worked
|
||||
// Open the buffer on the host and see that the formatting worked
|
||||
let buffer_a = project_a
|
||||
.update(cx_a, |p, cx| p.open_buffer((worktree_id, "main.rs"), cx))
|
||||
.await
|
||||
|
@ -1836,7 +1836,7 @@ async fn test_inlay_hint_refresh_is_forwarded(
|
|||
assert_eq!(
|
||||
inlay_cache.version(),
|
||||
1,
|
||||
"Should update cache verison after first hints"
|
||||
"Should update cache version after first hints"
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue