cleanup new lints from Rust 1.72

This commit is contained in:
bunnie 2023-09-17 17:38:49 +08:00
parent 7db56d59f9
commit 8a67c95d70
3 changed files with 3 additions and 4 deletions

View file

@ -5,7 +5,6 @@
pub mod api;
pub use api::*;
use api::{Callback, ComIntSources, NET_MTU, Opcode};
use com_rs::{DhcpState, LinkState};
use xous::{send_message, Error, CID, Message, msg_scalar_unpack};
use xous_ipc::{String, Buffer};

View file

@ -15,8 +15,8 @@ pub mod bitmap;
#[cfg(feature="ditherpunk")]
pub use bitmap::{Bitmap, Img, PixelType, DecodePng};
use graphics_server::api::{TextOp, TextView};
use graphics_server::api::{Gid, Line, Circle, RoundedRectangle, TokenClaim};
pub use graphics_server::api::{TextOp, TextView};
pub use graphics_server::api::{Gid, Line, Circle, RoundedRectangle, TokenClaim};
pub use graphics_server::api::{Point, Rectangle};
#[cfg(feature="ditherpunk")]
pub use graphics_server::api::Tile;

View file

@ -9,7 +9,7 @@ pub use graphics_server::*;
use xous_ipc::{String, Buffer};
use num_traits::*;
use graphics_server::api::{PixelColor, TextBounds, DrawStyle};
pub use graphics_server::api::{PixelColor, TextBounds, DrawStyle};
#[cfg(feature = "tts")]
use tts_frontend::*;