Browse Source

conf/accounts.rs: make JobRequest::Generic name Cow<'_, str>

master
Manos Pitsidianakis 2 years ago
parent
commit
7744ef1462
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 3
      src/conf/accounts.rs

3
src/conf/accounts.rs

@ -48,6 +48,7 @@ use futures::channel::oneshot;
use futures::future::FutureExt;
pub use futures::stream::Stream;
use futures::stream::StreamExt;
use std::borrow::Cow;
use std::collections::VecDeque;
use std::fs;
use std::io;
@ -173,7 +174,7 @@ pub enum JobRequest {
)>,
),
Generic {
name: String,
name: Cow<'static, str>,
handle: JoinHandle,
channel: JobChannel<()>,
},

Loading…
Cancel
Save