Merge pull request #3269 from wada314/lc-unreachable
Remove a trivial redundant code.
This commit is contained in:
commit
e60f4bbea6
1 changed files with 1 additions and 1 deletions
|
|
@ -1301,7 +1301,7 @@ impl<'a> Iterator for LineClasses<'a> {
|
|||
|
||||
let start_class = match self.base.peek() {
|
||||
Some((kind, _)) => *kind,
|
||||
None => FullCodeCharKind::Normal,
|
||||
None => unreachable!(),
|
||||
};
|
||||
|
||||
while let Some((kind, c)) = self.base.next() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue