Update jive
This commit is contained in:
parent
381211a51e
commit
941ed8eb42
|
@ -1,4 +1,4 @@
|
||||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
fn main() {
|
||||||
jive::block_on(async move {
|
jive::block_on(async move {
|
||||||
let (tx, mut rx) = mpsc::channel();
|
let (tx, mut rx) = mpsc::channel();
|
||||||
|
|
||||||
|
@ -19,7 +19,5 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
while let Some(val) = rx.recv().await {
|
while let Some(val) = rx.recv().await {
|
||||||
println!("Got {}", val);
|
println!("Got {}", val);
|
||||||
}
|
}
|
||||||
})?;
|
})
|
||||||
|
|
||||||
Ok(())
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue