1 2 3 4 5 6 7 8
use rs621::client::Client; #[test] fn impl_std_error_trait() -> Result<(), Box<dyn std::error::Error>> { Client::new("https://e926.net", "MyProject/1.0 (by username on e621)")?; Ok(()) }