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

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(())
    }
}