summaryrefslogtreecommitdiffstats
path: root/wgpu/src/renderer.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-06 03:30:48 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-06 03:30:48 +0100
commitf81827c151eba868ab17f35d21a654d48125d0bf (patch)
tree6b844fb33fb83dfd61dbb89512fff2b766e4bff5 /wgpu/src/renderer.rs
parent267e242238fab0aba14fb4c2e27269ce3a3e3951 (diff)
downloadiced-f81827c151eba868ab17f35d21a654d48125d0bf.tar.gz
iced-f81827c151eba868ab17f35d21a654d48125d0bf.tar.bz2
iced-f81827c151eba868ab17f35d21a654d48125d0bf.zip
Remove counterintuitive constant functions
Diffstat (limited to '')
-rw-r--r--wgpu/src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs
index da2c0d8c..f27a4b8a 100644
--- a/wgpu/src/renderer.rs
+++ b/wgpu/src/renderer.rs
@@ -35,7 +35,7 @@ struct Layer<'a> {
}
impl<'a> Layer<'a> {
- pub const fn new(bounds: Rectangle<u32>, offset: Vector<u32>) -> Self {
+ pub fn new(bounds: Rectangle<u32>, offset: Vector<u32>) -> Self {
Self {
bounds,
offset,