Fix a few more typos

This commit is contained in:
Mikayla
2024-01-17 14:58:58 -08:00
parent 285f4d1be9
commit e6ca92ffa4
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -3116,7 +3116,7 @@ async fn leave_channel_chat(request: proto::LeaveChannelChat, session: Session)
Ok(())
}
/// Retrive the chat history for a channel
/// Retrieve the chat history for a channel
async fn get_channel_messages(
request: proto::GetChannelMessages,
response: Response<proto::GetChannelMessages>,
+2 -2
View File
@@ -967,8 +967,8 @@ impl AppContext {
}
/// Register a callback to be invoked when a keystroke is received by the application
/// in any window. Note that this fires after all other action and event mechansims have resolved
/// and that this API will not be invoked if the event's propogation is stopped.
/// in any window. Note that this fires after all other action and event mechanisms have resolved
/// and that this API will not be invoked if the event's propagation is stopped.
pub fn observe_keystrokes(
&mut self,
f: impl FnMut(&KeystrokeEvent, &mut WindowContext) + 'static,
+1 -1
View File
@@ -615,7 +615,7 @@ mod test {
// Reset
state.reset(5);
// And then recieve a scroll event _before_ the next paint
// And then receive a scroll event _before_ the next paint
cx.simulate_event(ScrollWheelEvent {
position: point(px(1.), px(1.)),
delta: ScrollDelta::Pixels(point(px(0.), px(-500.))),
+1 -1
View File
@@ -200,7 +200,7 @@ impl<V> PartialEq for WeakView<V> {
impl<V> Eq for WeakView<V> {}
/// A dynically-typed handle to a view, which can be downcast to a [View] for a specific type.
/// A dynamically-typed handle to a view, which can be downcast to a [View] for a specific type.
#[derive(Clone, Debug)]
pub struct AnyView {
model: AnyModel,
+1 -1
View File
@@ -332,7 +332,7 @@ impl Vim {
}
}
/// Explicitly record one action (equiavlent to start_recording and stop_recording)
/// Explicitly record one action (equivalents to start_recording and stop_recording)
pub fn record_current_action(&mut self, cx: &mut WindowContext) {
self.start_recording(cx);
self.stop_recording();