summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-11-10 23:59:35 +0700
committerLibravatar GitHub <noreply@github.com>2021-11-10 23:59:35 +0700
commitf084ed8df154a7f3b0386cfb7e13307f6a6290d0 (patch)
treed4897e0ff06db7cc0fa774550e51f78347d78eb2 /README.md
parenteafad00af2a9bae9f3ed8124e2a6f6e59ee5d253 (diff)
parente6627bb96ded028bb6e820965c271430870af629 (diff)
downloadiced-f084ed8df154a7f3b0386cfb7e13307f6a6290d0.tar.gz
iced-f084ed8df154a7f3b0386cfb7e13307f6a6290d0.tar.bz2
iced-f084ed8df154a7f3b0386cfb7e13307f6a6290d0.zip
Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
Remove unnecessary String allocation
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 935c1a48..d39cc185 100644
--- a/README.md
+++ b/README.md
@@ -128,7 +128,7 @@ impl Counter {
)
.push(
// We show the value of the counter here
- Text::new(&self.value.to_string()).size(50),
+ Text::new(self.value.to_string()).size(50),
)
.push(
// The decrement button. We tell it to produce a