rustbuster icon indicating copy to clipboard operation
rustbuster copied to clipboard

function is never used in build

Open mikemadden42 opened this issue 3 years ago • 0 comments

$ rustc --version
rustc 1.52.1 (9bc8c42bb 2021-05-09)

$ sw_vers
ProductName:    macOS
ProductVersion: 11.3.1
BuildVersion:   20E241

I see this warning from cargo build --release:

warning: function is never used: `configuration`
  --> src/banner.rs:29:8
   |
29 | pub fn configuration(mode: &str, url: &str, threads: &str, wordlist: &str) -> String {
   |        ^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: 1 warning emitted

mikemadden42 avatar May 14 '21 00:05 mikemadden42