mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-14 07:20:38 +08:00
chore: Update to Rust 1.92
This commit is contained in:
+1
-1
@@ -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),
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user