Skip to content

Commit 60be4b5

Browse files
committed
fix lint, revert incorrect change
1 parent 5b384aa commit 60be4b5

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
@@ -355,7 +355,7 @@ async fn start(args: Vec<String>) -> Result<(), Error> {
355355
match readline {
356356
Ok(line) => {
357357
rl.add_history_entry(line.as_str())?;
358-
let should_continue = spawn_named_blocking_task!("repl:handle_cmd", async {
358+
let should_continue = Handle::current().block_on(async {
359359
match handle_cmd(line.trim(), ctx.clone(), &mut selected_chat).await {
360360
Ok(ExitResult::Continue) => true,
361361
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)