Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function is never used in build #48

Open
mikemadden42 opened this issue May 14, 2021 · 0 comments
Open

function is never used in build #48

mikemadden42 opened this issue May 14, 2021 · 0 comments

Comments

@mikemadden42
Copy link

$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant