Skip to content
Snippets Groups Projects
Commit 6a75b97f authored by Éloïs's avatar Éloïs
Browse files

[style] comply clippy

parent 868fc897
No related branches found
No related tags found
1 merge request!93Migrate network documents to pest
......@@ -241,7 +241,11 @@ fn start_broadcasting_thread(
}
/// Start conf thread
fn start_conf_thread(profile: &str, conf: &mut DuRsConf, receiver: mpsc::Receiver<DursMsgContent>) {
fn start_conf_thread(
profile: &str,
conf: &mut DuRsConf,
receiver: &mpsc::Receiver<DursMsgContent>,
) {
loop {
match receiver.recv() {
Ok(msg) => {
......@@ -349,7 +353,7 @@ pub fn start_rooter(
// Create conf thread
thread::spawn(move || {
start_conf_thread(&profile, &mut conf.clone(), conf_receiver);
start_conf_thread(&profile, &mut conf.clone(), &conf_receiver);
});
// Define variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment