summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-10 00:17:27 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-10 00:17:27 +0100
commitbec1f5bbe0e0fec0d57b66ee227c41f15165057e (patch)
treebd8b100e585590a5e439c45416fca0eaac28656b
parent1480ab20306e463b69b2229dcd5e81d4c66b2a64 (diff)
downloadiced-bec1f5bbe0e0fec0d57b66ee227c41f15165057e.tar.gz
iced-bec1f5bbe0e0fec0d57b66ee227c41f15165057e.tar.bz2
iced-bec1f5bbe0e0fec0d57b66ee227c41f15165057e.zip
Remove unnecessary `into` call in `operation::scoped`
-rw-r--r--native/src/widget/operation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/operation.rs b/native/src/widget/operation.rs
index dd6b3c54..2b1179f1 100644
--- a/native/src/widget/operation.rs
+++ b/native/src/widget/operation.rs
@@ -97,7 +97,7 @@ pub fn scoped<T: 'static>(
}
ScopedOperation {
- target: target.into(),
+ target,
operation: Box::new(operation),
}
}