special case numeric literals, and away we go!

This commit is contained in:
🪞👃🪞 2025-01-14 21:07:25 +01:00
parent 228b4bb47c
commit dc45edf7e0
7 changed files with 114 additions and 133 deletions

View file

@ -139,7 +139,7 @@ macro_rules! border {
#[derive(Copy, Clone)]
pub struct $T(pub Style);
impl Content<TuiOut> for $T {
fn render (&self, to: &mut TuiOut) { self.draw(to); }
fn render (&self, to: &mut TuiOut) { let _ = self.draw(to); }
}
)+}
}