summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl
diff options
context:
space:
mode:
authorLibravatar Giuliano Bellini <100347457+GyulyVGC@users.noreply.github.com>2023-02-02 16:52:56 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-02 16:52:56 +0100
commita35d6d2e4d59f71309f31c87ea5150959d639185 (patch)
treeefd44456685739bce1962146e66002654c9ecb0e /examples/integration_opengl
parent49e9a9a5379c1e9a9469045ca9a51ffb860ee620 (diff)
parent98a717383acf71d7939d7cc90d350743487f0380 (diff)
downloadiced-a35d6d2e4d59f71309f31c87ea5150959d639185.tar.gz
iced-a35d6d2e4d59f71309f31c87ea5150959d639185.tar.bz2
iced-a35d6d2e4d59f71309f31c87ea5150959d639185.zip
Merge branch 'iced-rs:master' into master
Diffstat (limited to 'examples/integration_opengl')
-rw-r--r--examples/integration_opengl/src/controls.rs2
-rw-r--r--examples/integration_opengl/src/scene.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/integration_opengl/src/controls.rs b/examples/integration_opengl/src/controls.rs
index 076d37d3..22c41066 100644
--- a/examples/integration_opengl/src/controls.rs
+++ b/examples/integration_opengl/src/controls.rs
@@ -90,7 +90,7 @@ impl Program for Controls {
)
.push(sliders)
.push(
- Text::new(format!("{:?}", background_color))
+ Text::new(format!("{background_color:?}"))
.size(14)
.style(Color::WHITE),
),
diff --git a/examples/integration_opengl/src/scene.rs b/examples/integration_opengl/src/scene.rs
index fc74b78a..c1d05b65 100644
--- a/examples/integration_opengl/src/scene.rs
+++ b/examples/integration_opengl/src/scene.rs
@@ -49,7 +49,7 @@ impl Scene {
.expect("Cannot create shader");
gl.shader_source(
shader,
- &format!("{}\n{}", shader_version, shader_source),
+ &format!("{shader_version}\n{shader_source}"),
);
gl.compile_shader(shader);
if !gl.get_shader_compile_status(shader) {