sys: systemd: remove empty line after outer attribute
Fixes the clippy lint: ``` warning: empty line after outer attribute --> proxmox-sys/src/systemd.rs:7:1 | 7 | / #[allow(clippy::manual_range_contains)] 8 | | | |_ 9 | fn parse_hex_digit(d: u8) -> Result<u8, Error> { | ---------------------------------------------- the attribute applies to this function | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr = note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default = help: if the empty line is unintentional remove it ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
c8d49a7d38
commit
34c66e1542
@ -5,7 +5,6 @@ use std::path::PathBuf;
|
|||||||
use anyhow::{bail, Error};
|
use anyhow::{bail, Error};
|
||||||
|
|
||||||
#[allow(clippy::manual_range_contains)]
|
#[allow(clippy::manual_range_contains)]
|
||||||
|
|
||||||
fn parse_hex_digit(d: u8) -> Result<u8, Error> {
|
fn parse_hex_digit(d: u8) -> Result<u8, Error> {
|
||||||
if d >= b'0' && d <= b'9' {
|
if d >= b'0' && d <= b'9' {
|
||||||
return Ok(d - b'0');
|
return Ok(d - b'0');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user