Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
format: Format the code by cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Gris Ge <cnfourt@gmail.com>
  • Loading branch information
cathay4t committed Sep 21, 2021
1 parent bda6cd8 commit e1d86cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rtnetlink/examples/property_altname.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ async fn main() -> Result<(), ()> {

match action.as_str() {
"add" => {
if let Err(e) =
add_property_alt_ifnames(link_name, &alt_ifnames, handle.clone()).await
if let Err(e) = add_property_alt_ifnames(link_name, &alt_ifnames, handle.clone()).await
{
eprintln!("{}", e);
}
Expand Down

0 comments on commit e1d86cb

Please sign in to comment.