From 6f3cedfc4d28c1d785bf0d86b02e09a86312c2f0 Mon Sep 17 00:00:00 2001 From: taovinci0 Date: Fri, 13 Feb 2026 16:04:05 +0000 Subject: [PATCH] fix: correct spelling of 'receiver' in trait documentation --- crates/but-rebase/src/graph_rebase/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/but-rebase/src/graph_rebase/mod.rs b/crates/but-rebase/src/graph_rebase/mod.rs index 45f1fb1b6d2..1c973710f6f 100644 --- a/crates/but-rebase/src/graph_rebase/mod.rs +++ b/crates/but-rebase/src/graph_rebase/mod.rs @@ -106,7 +106,7 @@ type StepGraph = petgraph::stable_graph::StableDiGraph; /// `ToSelector` does _not_ normalize a selector. pub trait ToSelector { /// Converts a given object into a selector. Calling `to_selector` on an - /// object asserts that the reciever was a object that is selectable in the + /// object asserts that the receiver was a object that is selectable in the /// graph. fn to_selector(&self, editor: &Editor) -> Result; } @@ -114,7 +114,7 @@ pub trait ToSelector { /// Convert a type to a selector, and ensures that it is type commit. pub trait ToCommitSelector { /// Converts a given object into a selector. Calling `to_commit_selector` on - /// an object asserts that the reciever has a selectable pick step in the + /// an object asserts that the receiver has a selectable pick step in the /// graph. fn to_commit_selector(&self, editor: &Editor) -> Result; } @@ -122,7 +122,7 @@ pub trait ToCommitSelector { /// Convert a type to a selector, and ensures that it is type reference. pub trait ToReferenceSelector { /// Converts a given object into a selector. Calling `to_reference_selector` on - /// an object asserts that the reciever has a selectable reference step in + /// an object asserts that the receiver has a selectable reference step in /// the graph. fn to_reference_selector(&self, editor: &Editor) -> Result; }