Closed colin4k closed 1 year ago
Same
Same issue, but I figure out that using cargo build
instead of cargo install
works:
cargo build --release
cp target/release/joshuto /usr/local/bin
As of the latest release (0.21.0 I believe), Spans
has been deprecated and renamed to Line
to better reflect its usage as a type.
Solved by #319
@colin4k @sxyazi Can you confirm this has been resolved in the latest git version?
Closing for now, feel free to re-open if issue persists
&Spans<'_>
, found&Line<'_>
note: method defined here --> /home/colin/.cargo/registry/src/github.com-1ecc6299db9ec823/ratatui-0.20.1/src/buffer.rs:309:12 | 309 | pub fn setspans(&mut self, x: u16, y: u16, spans: &Spans<'>, width: u16) -> (u16, u16) { | ^^^^^^^^^
For more information about this error, try
rustc --explain E0308
.`