From d689fd30bc8be66bda9b9a2d787bbc236a1ba587 Mon Sep 17 00:00:00 2001 From: DropDemBits Date: Fri, 31 Mar 2023 14:43:24 -0400 Subject: [PATCH] Remove outdated comment in sourcegen `CommentBlock::extract` does handle blank lines in comment blocks --- crates/ide-assists/src/tests/sourcegen.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/ide-assists/src/tests/sourcegen.rs b/crates/ide-assists/src/tests/sourcegen.rs index b4f50c7fb26..3da90e9052f 100644 --- a/crates/ide-assists/src/tests/sourcegen.rs +++ b/crates/ide-assists/src/tests/sourcegen.rs @@ -90,8 +90,6 @@ impl Assist { let comment_blocks = sourcegen::CommentBlock::extract("Assist", &text); for block in comment_blocks { - // FIXME: doesn't support blank lines yet, need to tweak - // `extract_comment_blocks` for that. let id = block.id; assert!( id.chars().all(|it| it.is_ascii_lowercase() || it == '_'),