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
This rust code is being counted weirdly:
/* A */ /// B struct C;
It results in the output
=============================================================================== Language Files Lines Code Comments Blanks =============================================================================== Rust 1 1 1 0 0 |- Markdown 1 1 0 1 0 (Total) 2 1 1 0 =============================================================================== Total 1 1 1 0 0 ===============================================================================
wc -l
If I add more empty lines between /* A */ and /// B, they are simply ignored. If I change /// B to // B, the output is correct.
/* A */
/// B
// B
Similar things happen with this simplified two-liner example:
/// A struct B;
Tokei output:
Tested on commit fd08c8b (the current master) with a freshly cloned tokei.
The text was updated successfully, but these errors were encountered:
Thank you for your issue! I'll have to investigate further, but you can see what's happening in tokei with tokei -vvv.
tokei -vvv
Sorry, something went wrong.
Block docstrings are not counted as markdown.
Source file:
/*! Module docstring */ /** Item docstring */ struct CoolStuff;
tokei output:
tokei
=============================================================================== Language Files Lines Code Comments Blanks =============================================================================== Rust 1 8 1 6 1 =============================================================================== Total 1 8 1 6 1 ===============================================================================
No branches or pull requests
This rust code is being counted weirdly:
It results in the output
wc -l
agrees), yet the total reported by tokei is 1.If I add more empty lines between
/* A */
and/// B
, they are simply ignored.If I change
/// B
to// B
, the output is correct.Similar things happen with this simplified two-liner example:
Tokei output:
Tested on commit fd08c8b (the current master) with a freshly cloned tokei.
The text was updated successfully, but these errors were encountered: