Skip to content

Commit 40939c8

Browse files
committed
1 parent 1eea517 commit 40939c8

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,6 @@ float_cmp = "allow" # 12
663663
items_after_statements = "allow" # 11
664664
return_self_not_must_use = "allow" # 8
665665
needless_continue = "allow" # 6
666-
inline_always = "allow" # 6
667666
fn_params_excessive_bools = "allow" # 6
668667
used_underscore_items = "allow" # 2
669668
should_panic_without_expect = "allow" # 2

src/uu/mknod/src/mknod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ mod options {
2626
pub const CONTEXT: &str = "context";
2727
}
2828

29-
#[inline(always)]
3029
fn makedev(maj: u64, min: u64) -> dev_t {
3130
// pick up from <sys/sysmacros.h>
3231
((min & 0xff) | ((maj & 0xfff) << 8) | ((min & !0xff) << 12) | ((maj & !0xfff) << 32)) as dev_t

src/uu/more/src/more.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ fn setup_term() -> UResult<OutputType> {
380380
}
381381

382382
#[cfg(target_os = "fuchsia")]
383-
#[inline(always)]
384383
fn setup_term() -> UResult<OutputType> {
385384
// no real stdout/tty on Fuchsia, just write into a pipe
386385
Ok(OutputType::Pipe(Box::new(stdout())))
@@ -400,7 +399,6 @@ fn reset_term() -> UResult<()> {
400399
}
401400

402401
#[cfg(target_os = "fuchsia")]
403-
#[inline(always)]
404402
fn reset_term() -> UResult<()> {
405403
Ok(())
406404
}

src/uu/sort/src/numeric_str_cmp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ pub fn human_numeric_str_cmp(
223223

224224
/// Compare two numbers as strings without parsing them as a number first. This should be more performant and can handle numbers more precisely.
225225
/// [`NumInfo`] is needed to provide a fast path for most numbers.
226-
#[inline(always)]
227226
pub fn numeric_str_cmp((a, a_info): (&[u8], &NumInfo), (b, b_info): (&[u8], &NumInfo)) -> Ordering {
228227
// check for a difference in the sign
229228
if a_info.sign != b_info.sign {

src/uu/sort/src/sort.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,6 @@ pub enum GeneralBigDecimalParseResult {
21002100

21012101
/// Parse the beginning string into a [`GeneralBigDecimalParseResult`].
21022102
/// Using a [`GeneralBigDecimalParseResult`] instead of [`ExtendedBigDecimal`] is necessary to correctly order floats.
2103-
#[inline(always)]
21042103
fn general_bd_parse(a: &[u8]) -> GeneralBigDecimalParseResult {
21052104
// The string should be valid ASCII to be parsed.
21062105
let Ok(a) = std::str::from_utf8(a) else {

0 commit comments

Comments
 (0)