Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit f20f14c

Browse files
committed
rustfmt
1 parent ea8551a commit f20f14c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

rls/src/actions/mod.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ use crate::project_model::{ProjectModel, RacerFallbackModel, RacerProjectModel};
2323
use crate::server::Output;
2424

2525
use std::collections::{HashMap, HashSet};
26+
use std::convert::TryFrom;
2627
use std::io;
2728
use std::path::{Path, PathBuf};
2829
use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
2930
use std::sync::{Arc, Mutex};
3031
use std::thread;
31-
use std::convert::TryFrom;
3232

3333
// TODO: Support non-`file` URI schemes in VFS. We're currently ignoring them because
3434
// we don't want to crash the RLS in case a client opens a file under different URI scheme
@@ -700,10 +700,13 @@ mod test {
700700
let manifest_path = {
701701
let path = dir.path().join("Cargo.toml");
702702
let mut m = File::create(&path)?;
703-
writeln!(m, "[package]\n\
704-
name = \"foo\"\n\
705-
version = \"1.0.0\"\n\
706-
edition = \"2018\"")?;
703+
writeln!(
704+
m,
705+
"[package]\n\
706+
name = \"foo\"\n\
707+
version = \"1.0.0\"\n\
708+
edition = \"2018\""
709+
)?;
707710
path
708711
};
709712

0 commit comments

Comments
 (0)