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

Rust support #12

Closed
regexident opened this issue Jul 21, 2020 · 2 comments · Fixed by #17
Closed

Rust support #12

regexident opened this issue Jul 21, 2020 · 2 comments · Fixed by #17
Labels
enhancement New feature or request

Comments

@regexident
Copy link

This looks like a very cool tool! Congrats!

Would love to give it a ride with Rust.

Comments in Rust code follow the general C++ style of line (//) and block (/* ... */) comment forms. Nested block comments are supported.

Non-doc comments are interpreted as a form of whitespace.

Reference

The file extension of Rust source files is .rs.

@preslavmihaylov
Copy link
Owner

Thanks!

I'll need to extend the set of comment parsers for this one as nested multi-line comments aren't supported in todocheck yet.

@preslavmihaylov preslavmihaylov added the enhancement New feature or request label Jul 21, 2020
@regexident
Copy link
Author

For the sake of completeness: similar to Swift (#13 (comment)) Rust also supports doc comments via ///.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants