Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Block comment bug #2

Closed
Vinatorul opened this issue Aug 21, 2015 · 1 comment
Closed

Block comment bug #2

Vinatorul opened this issue Aug 21, 2015 · 1 comment

Comments

@Vinatorul
Copy link
Collaborator

Single-line block comment counts erroneously. For this sample

/* */
fn main() {
    println!("Hello world");
}

I got

         Language  Files  Lines  Blanks  Comments  Code  Unsafe (%)
         --------  -----  -----  ------  --------  ----  ----------
         Rust      1      4      0       4         0     0 (NaN%)
         TOML      1      4      0       0         4     
         --------  -----  -----  ------  --------  ----  ----------
Totals:            2      8      0       4         4     0 (0.00%)


@kbknapp
Copy link
Owner

kbknapp commented Aug 21, 2015

Good catch, I'll throw up patch real quick!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants