We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc983fc commit f9eec24Copy full SHA for f9eec24
src/num.rs
@@ -1,6 +1,6 @@
1
// TODO: use NonZero<char> in Rust 1.89+
2
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
3
-pub(crate) struct NonZeroChar(char);
+pub struct NonZeroChar(char);
4
5
impl NonZeroChar {
6
pub fn new(ch: char) -> Option<Self> {
0 commit comments