aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/uri.rs
blob: 64572ba6e66a0851a446f400fcc8fc8960a7f543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::fmt::Display;

#[derive(Debug)]
pub struct Uri {
    pub content: String,
}

impl Display for Uri {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "{}", self.content)?;
        Ok(())
    }
}