Fix a few more typos
This commit is contained in:
@@ -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>,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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.))),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user