Skip to content

Commit f9eec24

Browse files
committed
Restore support for rustc older than 1.74
1 parent cc983fc commit f9eec24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/num.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// TODO: use NonZero<char> in Rust 1.89+
22
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
3-
pub(crate) struct NonZeroChar(char);
3+
pub struct NonZeroChar(char);
44

55
impl NonZeroChar {
66
pub fn new(ch: char) -> Option<Self> {

0 commit comments

Comments
 (0)