Skip to content

Commit

Permalink
Fix mentions of Rust 1.81 instead of 1.82.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Sep 5, 2024
1 parent 2ab7638 commit f79562f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion all-is-cubes-desktop/src/glue/rerun_mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl From<mesh::BlockVertex<NoTexture>> 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!(),
},
}
Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes-ui/src/ui_content/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {

Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes/src/content/palette.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes/src/drawing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f79562f

Please sign in to comment.