mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Fix blt runnable
This commit is contained in:
parent
2cd6d7a80c
commit
76170ab2dd
@ -110,7 +110,9 @@ impl CursiveRunnable {
|
|||||||
/// _Requires the `blt-backend` feature._
|
/// _Requires the `blt-backend` feature._
|
||||||
#[cfg(feature = "blt-backend")]
|
#[cfg(feature = "blt-backend")]
|
||||||
pub fn blt() -> Self {
|
pub fn blt() -> Self {
|
||||||
Self::new(|| Ok(backends::blt::Backend::init()))
|
Self::new::<std::convert::Infallible, _>(|| {
|
||||||
|
Ok(backends::blt::Backend::init())
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new Cursive wrapper using one of the available backends.
|
/// Creates a new Cursive wrapper using one of the available backends.
|
||||||
|
Loading…
Reference in New Issue
Block a user