Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e60f4bb

Browse files
authored
Merge pull request rust-lang#3269 from wada314/lc-unreachable
Remove a trivial redundant code.
2 parents a1ee7e9 + d504a66 commit e60f4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ impl<'a> Iterator for LineClasses<'a> {
13011301

13021302
let start_class = match self.base.peek() {
13031303
Some((kind, _)) => *kind,
1304-
None => FullCodeCharKind::Normal,
1304+
None => unreachable!(),
13051305
};
13061306

13071307
while let Some((kind, c)) = self.base.next() {

0 commit comments

Comments
 (0)