diff options
author | 2020-03-06 03:30:48 +0100 | |
---|---|---|
committer | 2020-03-06 03:30:48 +0100 | |
commit | f81827c151eba868ab17f35d21a654d48125d0bf (patch) | |
tree | 6b844fb33fb83dfd61dbb89512fff2b766e4bff5 /web/src/widget/slider.rs | |
parent | 267e242238fab0aba14fb4c2e27269ce3a3e3951 (diff) | |
download | iced-f81827c151eba868ab17f35d21a654d48125d0bf.tar.gz iced-f81827c151eba868ab17f35d21a654d48125d0bf.tar.bz2 iced-f81827c151eba868ab17f35d21a654d48125d0bf.zip |
Remove counterintuitive constant functions
Diffstat (limited to '')
-rw-r--r-- | web/src/widget/slider.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/widget/slider.rs b/web/src/widget/slider.rs index 55848084..5b203e07 100644 --- a/web/src/widget/slider.rs +++ b/web/src/widget/slider.rs @@ -147,7 +147,7 @@ impl State { /// Creates a new [`State`]. /// /// [`State`]: struct.State.html - pub const fn new() -> Self { + pub fn new() -> Self { Self } } |