diff --git a/backend/src/main.rs b/backend/src/main.rs index d3e002e..baded14 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -2,7 +2,7 @@ extern crate serde_json; mod generate; -#[allow(unused_imports, dead_code)] +#[allow(unused_imports, dead_code, clippy::all)] pub mod prisma; mod routes; pub mod state; diff --git a/backend/src/state/game.rs b/backend/src/state/game.rs index ab3567a..8098858 100644 --- a/backend/src/state/game.rs +++ b/backend/src/state/game.rs @@ -20,7 +20,7 @@ pub struct GameCoreState { } pub struct GameDerivedState<'a> { - core: &'a GameCoreState, + pub core: &'a GameCoreState, } impl GameCoreState { diff --git a/triangle/src/lib.rs b/triangle/src/lib.rs index 30556c0..ff93072 100644 --- a/triangle/src/lib.rs +++ b/triangle/src/lib.rs @@ -5,7 +5,7 @@ extern crate triangle_sys as sys; #[cfg(test)] mod tests; -use std::{ffi::CString, mem::MaybeUninit, ptr}; +use std::{ffi::CString, mem::MaybeUninit}; use anyhow::Result; @@ -49,17 +49,18 @@ pub fn triangulate
(opts: TrianglulateOpts
) -> Result