cleanup warning

This commit is contained in:
bunnie 2024-11-20 20:39:06 +08:00
parent 51717fd7d9
commit 8cc80741ac

View file

@ -92,6 +92,7 @@ pub fn msg<'a>(fb: &mut dyn FrameBuffer, text: &'a str, ll_pos: Point, fg: Color
ll_pos.x += x_update;
}
#[allow(dead_code)]
pub fn line(fb: &mut dyn FrameBuffer, l: Line, clip: Option<Rectangle>, xor: bool) {
let color: ColorNative;
if l.style.stroke_color.is_some() {