chore: Update to Rust 1.92

This commit is contained in:
Erik Kundt
2025-12-13 01:03:43 +01:00
parent e224211203
commit fc38ebce66
8 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ impl Terminal {
Ok(())
}
pub fn draw<F>(&mut self, f: F) -> io::Result<CompletedFrame>
pub fn draw<F>(&mut self, f: F) -> io::Result<CompletedFrame<'_>>
where
F: FnOnce(&mut Frame),
{
+1 -1
View File
@@ -112,7 +112,7 @@ impl From<Spacing> for u16 {
/// Needs to be implemented for items that are supposed to be rendered in tables.
pub trait ToRow<const W: usize> {
fn to_row(&self) -> [Cell; W];
fn to_row(&self) -> [Cell<'_>; W];
}
/// Needs to be implemented for items that are supposed to be rendered in trees.