Browse Source

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

tags/alpha-0.6.0
Manos Pitsidianakis 8 months ago
parent
commit
7744ef1462
Signed by: epilys GPG Key ID: 73627C2F690DF710
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/conf/accounts.rs

+ 2
- 1
src/conf/accounts.rs View File

@ -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