1
2
3
4
5
6
7
8
9
10
use std::fmt::{self, Debug, Formatter};

#[derive(PartialEq, Eq, Clone, Hash)]
pub struct Token(pub(crate) String);

impl Debug for Token {
    fn fmt(&self, formatter: &mut Formatter) -> fmt::Result {
        formatter.write_str("Token(..)")
    }
}