Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Jul 8, 2024
1 parent 3c7a055 commit 0ee7ae3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/bin/bitswapd.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// src/bin/bitswapd.rs

use bin::bitswapd::Bitswapd;

Check failure

Code scanning / clippy

failed to resolve: use of undeclared crate or module bin Error

failed to resolve: use of undeclared crate or module bin

Check failure

Code scanning / clippy

failed to resolve: use of undeclared crate or module bin Error

failed to resolve: use of undeclared crate or module bin

Check failure

Code scanning / clippy

failed to resolve: use of undeclared crate or module bin Error

failed to resolve: use of undeclared crate or module bin
use std::env;

pub struct Bitswapd;

Expand All @@ -7,8 +9,7 @@ impl Bitswapd {
println!("Starting bitswapd with args: {:?}", args);
}
}
fn main() {
let args: Vec<String> = .env::args().collect();
Bitswapd::start(args);
}

fn main() {
let args: Vec<String> = env::args().collect();
Bitswapd::start(args);
}

0 comments on commit 0ee7ae3

Please sign in to comment.