From a098066875fd554f7d1a6538b55d6b39a3e055e9 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:23 +0100 Subject: feat(all): support stable --- stockton-render/src/draw/draw_passes/level.rs | 2 +- stockton-render/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/stockton-render/src/draw/draw_passes/level.rs b/stockton-render/src/draw/draw_passes/level.rs index d23990d..9872b8c 100644 --- a/stockton-render/src/draw/draw_passes/level.rs +++ b/stockton-render/src/draw/draw_passes/level.rs @@ -199,7 +199,7 @@ where match face.geometry(&map) { Geometry::Vertices(v1, v2, v3) => { - for v in [v1, v2, v3] { + for v in &[v1, v2, v3] { let uvp = UvPoint(v.position, face.texture_idx(&map).try_into()?, v.tex); diff --git a/stockton-render/src/lib.rs b/stockton-render/src/lib.rs index 17dbf03..6ab7740 100644 --- a/stockton-render/src/lib.rs +++ b/stockton-render/src/lib.rs @@ -1,5 +1,3 @@ -#![allow(incomplete_features)] -#![feature(generic_associated_types)] #[cfg(feature = "vulkan")] extern crate gfx_backend_vulkan as back; extern crate gfx_hal as hal; -- cgit v1.2.3