From f79562fc80c4e056aa0263b359c016045ead94e5 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Thu, 5 Sep 2024 14:40:51 -0700 Subject: [PATCH] Fix mentions of Rust 1.81 instead of 1.82. --- all-is-cubes-desktop/src/glue/rerun_mesh.rs | 2 +- all-is-cubes-ui/src/ui_content/pages.rs | 2 +- all-is-cubes/src/content/palette.rs | 2 +- all-is-cubes/src/drawing.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/all-is-cubes-desktop/src/glue/rerun_mesh.rs b/all-is-cubes-desktop/src/glue/rerun_mesh.rs index 36a964222..a45e27fb0 100644 --- a/all-is-cubes-desktop/src/glue/rerun_mesh.rs +++ b/all-is-cubes-desktop/src/glue/rerun_mesh.rs @@ -49,7 +49,7 @@ impl From> for Vertex { position: v.position.to_f32().to_array().into(), color: match v.coloring { mesh::Coloring::Solid(color) => color.to_srgb8().into(), - #[allow(unreachable_patterns)] // TODO: Remove this arm after Rust 1.81 + #[allow(unreachable_patterns)] // TODO: Remove this arm after Rust 1.82 mesh::Coloring::Texture { .. } => unreachable!(), }, } diff --git a/all-is-cubes-ui/src/ui_content/pages.rs b/all-is-cubes-ui/src/ui_content/pages.rs index baed87a2e..44fbd940c 100644 --- a/all-is-cubes-ui/src/ui_content/pages.rs +++ b/all-is-cubes-ui/src/ui_content/pages.rs @@ -52,7 +52,7 @@ pub(super) fn new_paused_page( // TODO: quit_fn should be an async function, but we don't have a way to // kick off a “Quitting...” task yet. move || match quit_fn() { - #[allow(unreachable_patterns, reason = "TODO: Remove this arm after Rust 1.81")] + #[allow(unreachable_patterns, reason = "TODO: Remove this arm after Rust 1.82")] Ok(s) => match s {}, Err(_cancelled) => { diff --git a/all-is-cubes/src/content/palette.rs b/all-is-cubes/src/content/palette.rs index 0bd4435c0..f5dee5acf 100644 --- a/all-is-cubes/src/content/palette.rs +++ b/all-is-cubes/src/content/palette.rs @@ -14,7 +14,7 @@ // // 0xBB is the sRGB value approximating linear value 0.5. -#![allow(unknown_lints)] // TODO: remove after Rust 1.81 is released +#![allow(unknown_lints)] // TODO: remove after Rust 1.82 is released #![allow(clippy::too_long_first_doc_paragraph, reason = "false positive on SVG")] use crate::math::{rgb_const, Rgb}; diff --git a/all-is-cubes/src/drawing.rs b/all-is-cubes/src/drawing.rs index 2f46e6996..9e44e748e 100644 --- a/all-is-cubes/src/drawing.rs +++ b/all-is-cubes/src/drawing.rs @@ -72,7 +72,7 @@ pub fn rectangle_to_aab(rectangle: Rectangle, transform: Gridgid, max_brush: Gri // way, since it is precisely about identifying the volume occupied by drawing a // 2D-pixel. - #![allow(unknown_lints)] // TODO: remove after Rust 1.81 is released + #![allow(unknown_lints)] // TODO: remove after Rust 1.82 is released #![allow(clippy::too_long_first_doc_paragraph)] // TODO: find better phrasing // TODO: propagate numeric overflow cases