Skip to content

Commit 07acd94

Browse files
committed
fix lint, revert incorrect change
1 parent bea3e69 commit 07acd94

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

deltachat-repl/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ async fn start(args: Vec<String>) -> Result<(), Error> {
354354
match readline {
355355
Ok(line) => {
356356
rl.add_history_entry(line.as_str())?;
357-
let should_continue = spawn_named_blocking_task!("repl:handle_cmd", async {
357+
let should_continue = Handle::current().block_on(async {
358358
match handle_cmd(line.trim(), ctx.clone(), &mut selected_chat).await {
359359
Ok(ExitResult::Continue) => true,
360360
Ok(ExitResult::Exit) => {

src/pgp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use pgp::crypto::hash::HashAlgorithm;
1616
use pgp::crypto::sym::SymmetricKeyAlgorithm;
1717
use pgp::types::{CompressionAlgorithm, KeyTrait, Mpi, PublicKeyTrait, StringToKey};
1818
use rand::{thread_rng, CryptoRng, Rng};
19-
use tokio::runtime::Handle;
2019

2120
use crate::constants::KeyGenType;
2221
use crate::key::{DcKey, Fingerprint};

0 commit comments

Comments
 (0)