summaryrefslogtreecommitdiffstats
path: root/native/src/widget/text_input.rs
diff options
context:
space:
mode:
authorLibravatar Songtronix <contact@songtronix.com>2020-01-01 17:27:14 +0100
committerLibravatar Songtronix <contact@songtronix.com>2020-01-02 11:11:08 +0100
commitd60f3b89a75f5b2ad8e6fb17827f5574a0a44bd1 (patch)
tree2fb1abb3717e8170df4e7946675b550b07d5eab9 /native/src/widget/text_input.rs
parent26de688e68347e1f6e388d01014eac89cea71afa (diff)
downloadiced-d60f3b89a75f5b2ad8e6fb17827f5574a0a44bd1.tar.gz
iced-d60f3b89a75f5b2ad8e6fb17827f5574a0a44bd1.tar.bz2
iced-d60f3b89a75f5b2ad8e6fb17827f5574a0a44bd1.zip
add(widget): primitive progressbar widget
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 {