diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-27 19:46:46 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-27 19:51:42 -0400 |
commit | 817446b403b147a9486d0d6f6e7b96ab31d9c226 (patch) | |
tree | fcc4142fd7847f0d7741b7709d36fc64e34c3799 /src/parse_style.rs | |
parent | c55bec8f0d75183bebc3b8bb9c51d5728d2f7d52 (diff) |
Rename: unreachable -> delta_unreachable
Diffstat (limited to 'src/parse_style.rs')
-rw-r--r-- | src/parse_style.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse_style.rs b/src/parse_style.rs index c06919f5..e24e7921 100644 --- a/src/parse_style.rs +++ b/src/parse_style.rs @@ -3,7 +3,7 @@ use std::process; use bitflags::bitflags; use crate::color; -use crate::config::unreachable; +use crate::config::delta_unreachable; use crate::style::{DecorationStyle, Style}; impl Style { @@ -156,7 +156,7 @@ impl DecorationStyle { bits if bits == BOX | OL => DecorationStyle::BoxWithOverline(style), bits if bits == BOX | UL | OL => DecorationStyle::BoxWithUnderOverline(style), _ if is_omitted => DecorationStyle::NoDecoration, - _ => unreachable("Unreachable code path reached in parse_decoration_style."), + _ => delta_unreachable("Unreachable code path reached in parse_decoration_style."), } } |