Skip to content

Commit 5841d6d

Browse files
committed
Update rustfmt.toml and justfile
1 parent 929dc9a commit 5841d6d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ default:
22
@just --list --unsorted --color=always | rg -v " default"
33

44
# Format source code
5-
format:
5+
fmt:
66
cargo +nightly fmt
77

88
clippy:

rustfmt.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ edition = "2021"
33

44
max_width = 100
55
error_on_line_overflow = false
6-
error_on_unformatted = false
6+
error_on_unformatted = true
77

88
normalize_comments = true
99

1010
use_small_heuristics = "Max"
1111
fn_params_layout = "Compressed"
1212
overflow_delimited_expr = true
13-
where_single_line = true
14-
1513
reorder_impl_items = true
14+
1615
group_imports = "StdExternalCrate"
16+
imports_granularity = "Module"

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ impl QueueFile {
432432
self.skip_write_header_on_add
433433
}
434434

435-
436435
#[deprecated(since = "1.4.7", note = "Use `skip_write_header_on_add` instead.")]
437436
pub const fn get_skip_write_header_on_add(&self) -> bool {
438437
self.skip_write_header_on_add()

0 commit comments

Comments
 (0)