summaryrefslogtreecommitdiffstats
path: root/native/src/widget/text_input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/text_input.rs')
-rw-r--r--native/src/widget/text_input.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs
index 1d1c32a2..c994b7ba 100644
--- a/native/src/widget/text_input.rs
+++ b/native/src/widget/text_input.rs
@@ -633,7 +633,8 @@ impl Value {
.unwrap_or(self.len())
}
- /// Returns a new [`Value`] containing the graphemes until the given `index`.
+ /// Returns a new [`Value`] containing the graphemes until the given
+ /// `index`.
///
/// [`Value`]: struct.Value.html
pub fn until(&self, index: usize) -> Self {