mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
fix tidy check
This commit is contained in:
parent
fab733b3ae
commit
751d0367c2
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ fn check_todo(path: &Path, text: &str) {
|
||||||
// To support generating `todo!()` in assists, we have `expr_todo()` in
|
// To support generating `todo!()` in assists, we have `expr_todo()` in
|
||||||
// `ast::make`.
|
// `ast::make`.
|
||||||
"ast/make.rs",
|
"ast/make.rs",
|
||||||
|
// The documentation in string literals may contain anything for its own purposes
|
||||||
|
"/completion/unstable_feature_descriptor.rs"
|
||||||
];
|
];
|
||||||
if need_todo.iter().any(|p| path.ends_with(p)) {
|
if need_todo.iter().any(|p| path.ends_with(p)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue