diff options
author | 2022-05-02 21:21:24 +0200 | |
---|---|---|
committer | 2022-05-02 21:21:24 +0200 | |
commit | 5acba65c1135d8ebbda94efc74ea0bebb29c438a (patch) | |
tree | 88673403313ad90cec226ee92d4ebf4ef0a24bdc /native/src/text.rs | |
parent | a17a7103d382f02c64e7b271d953ea6babffac97 (diff) | |
parent | 7e111f273fb22a6ffc7a4fd24bea5e838d276758 (diff) | |
download | iced-5acba65c1135d8ebbda94efc74ea0bebb29c438a.tar.gz iced-5acba65c1135d8ebbda94efc74ea0bebb29c438a.tar.bz2 iced-5acba65c1135d8ebbda94efc74ea0bebb29c438a.zip |
Merge pull request #1327 from iced-rs/update-docs
Update documentation
Diffstat (limited to '')
-rw-r--r-- | native/src/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/text.rs b/native/src/text.rs index 256a9c5a..6e28681d 100644 --- a/native/src/text.rs +++ b/native/src/text.rs @@ -39,7 +39,7 @@ pub enum Hit { } impl Hit { - /// Computes the cursor position corresponding to this [`HitTestResult`] . + /// Computes the cursor position of the [`Hit`] . pub fn cursor(self) -> usize { match self { Self::CharOffset(i) => i, |