Function fetch_pretty

Source
pub fn fetch_pretty(url: &str) -> Result<String, CompassError>
Examples found in repository?
examples/sample.rs (line 5)
3fn main() -> Result<(), CompassError> {
4    let target = String::from("target_url");
5    let res = compass::fetch_pretty(&target)?;
6    println!("{}", res);
7    Ok(())
8}