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

Commit af9e80f

Browse files
committed
Update Rustfmt
1 parent 53b9383 commit af9e80f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rls-data = { version = "0.15", features = ["serialize-serde"] }
2626
rls-rustc = "0.2.1"
2727
rls-span = { version = "0.4", features = ["serialize-serde"] }
2828
rls-vfs = { version = "0.4.5", features = ["racer-impls"] }
29-
rustfmt-nightly = { version = "0.3.8", optional = true }
29+
rustfmt-nightly = { version = "0.4.0", optional = true }
3030
clippy_lints = { version = "0.0.187", optional = true }
3131
serde = "1.0"
3232
serde_json = "1.0"

src/actions/requests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use racer;
1919
#[cfg(feature = "rustfmt")]
2020
use rustfmt::{FileName, format_input, Input as FmtInput};
2121
#[cfg(feature = "rustfmt")]
22-
use rustfmt::file_lines::{FileLines, Range as RustfmtRange};
22+
use rustfmt::config::file_lines::{FileLines, Range as RustfmtRange};
2323
use serde_json;
2424
use span;
2525

0 commit comments

Comments
 (0)