use std::{
fmt::{Display, Formatter},
sync::Arc,
};
mod display;
#[derive(Clone, Debug)]
pub struct Symbol {
inner: Arc<str>,
}
impl AsRef<str> for Symbol {
fn as_ref(&self) -> &str {
self.inner.as_ref()
}
}
impl Symbol {
pub fn new(name: &str) -> Self {
Self { inner: Arc::from(name) }
}
}