summaryrefslogtreecommitdiffstats
path: root/native/src/text.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-04-30 14:20:52 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-04-30 14:20:52 +0200
commit68e9eb0a9b45b86713ce5d0e9c2273a60f2cc11c (patch)
treeb60c4f355d956e9d5eafc0047dfda77b7433bf0e /native/src/text.rs
parentac35fe3edf78c1674fe85b37549002e006b0ff13 (diff)
downloadiced-68e9eb0a9b45b86713ce5d0e9c2273a60f2cc11c.tar.gz
iced-68e9eb0a9b45b86713ce5d0e9c2273a60f2cc11c.tar.bz2
iced-68e9eb0a9b45b86713ce5d0e9c2273a60f2cc11c.zip
Fix broken intra-doc links in documentation
Diffstat (limited to 'native/src/text.rs')
-rw-r--r--native/src/text.rs2
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,