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

RustRover 文件旁边显示的内容多 ! #55

Open
bcdax110 opened this issue Apr 30, 2024 · 0 comments
Open

RustRover 文件旁边显示的内容多 ! #55

bcdax110 opened this issue Apr 30, 2024 · 0 comments

Comments

@bcdax110
Copy link

Rust中的写在文件开头(包级别)的注释有两种写法:

  • 行注释: //!
  • 块注释: /*! ... */
    插件目前会把Rust语法中固定的!也当作注释的内容

比如文件exmaple.rs的内容是:

//! 示例包注释

在Project视图中显示的是example.rs ! 示例包注释,而正确的显示方式应该是example.rs 示例包注释

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