summaryrefslogtreecommitdiffstats
path: root/native/src/widget/text_input.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-05 22:03:32 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-05 22:03:32 +0100
commitbbc8f837d72b9bc5f6a0b3125b54c246fb3b2b94 (patch)
tree749e2b339ca8ca08a6f5d28befc6a3f137fc2d01 /native/src/widget/text_input.rs
parenta848306b89053ef4ba2aeb4eb7899bec94d93cb3 (diff)
parent8311500ac03a95927022d8eec8178ba7d87b0010 (diff)
downloadiced-bbc8f837d72b9bc5f6a0b3125b54c246fb3b2b94.tar.gz
iced-bbc8f837d72b9bc5f6a0b3125b54c246fb3b2b94.tar.bz2
iced-bbc8f837d72b9bc5f6a0b3125b54c246fb3b2b94.zip
Merge branch 'master' into feature/custom-styling
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 9952a9bf..ee8e5ade 100644
--- a/native/src/widget/text_input.rs
+++ b/native/src/widget/text_input.rs
@@ -651,7 +651,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 {