We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fn main
I ran cargo clippy in the repo and got this report:
cargo clippy
Checking fomat-macros v0.3.2 (/home/gabor/os/fomat-macros) warning: needless `fn main` in doctest --> src/lib.rs:23:4 | 23 | //! use fomat_macros::pintln; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main = note: `#[warn(clippy::needless_doctest_main)]` on by default warning: `fomat-macros` (lib) generated 1 warning Finished dev [unoptimized + debuginfo] target(s) in 0.08s
Is it maybe because of a missing # on line 25 in front of the fn main?
#
The text was updated successfully, but these errors were encountered:
Trying to understand the source of this, I actually like the fact that we can see the full example on the docs site, including the fn main part.
Sorry, something went wrong.
tell clippy to avoid warning, closes krdln#5
f350f8f
No branches or pull requests
I ran
cargo clippy
in the repo and got this report:Is it maybe because of a missing
#
on line 25 in front of thefn main
?The text was updated successfully, but these errors were encountered: