Skip to content

Commit b0a31c3

Browse files
mattsu2020sylvestre
authored andcommitted
fix fmt
1 parent ae84112 commit b0a31c3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/uu/uniq/src/uniq.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// For the full copyright and license information, please view the LICENSE
44
// file that was distributed with this source code.
5-
// spell-checker:ignore badoption
5+
// spell-checker:ignore badoption
66
use clap::{
77
Arg, ArgAction, ArgMatches, Command, builder::ValueParser, error::ContextKind, error::Error,
88
error::ErrorKind,
@@ -312,10 +312,7 @@ impl Uniq {
312312

313313
// This function does not use `self`, so make it an associated function.
314314
// Also remove needless explicit lifetimes to satisfy clippy::needless-lifetimes.
315-
fn build_count_prefix(
316-
count: usize,
317-
buf: &mut [u8; Self::COUNT_PREFIX_BUF_SIZE],
318-
) -> &[u8] {
315+
fn build_count_prefix(count: usize,buf: &mut [u8; Self::COUNT_PREFIX_BUF_SIZE],) -> &[u8] {
319316
let mut digits_buf = [0u8; 20];
320317
let mut value = count;
321318
let mut idx = digits_buf.len();

0 commit comments

Comments
 (0)