Derive Debug, add comment

This commit is contained in:
bitfl0wer 2023-05-21 15:51:24 +02:00
parent dd6cc2f45e
commit 31ff7b9243
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 2 additions and 1 deletions

View File

@ -4,12 +4,13 @@ use chorus::{
URLBundle, URLBundle,
}; };
#[derive(Debug)]
struct TestBundle { struct TestBundle {
urls: URLBundle, urls: URLBundle,
user: User, user: User,
} }
// Set up a test by creating an Instance and a User. // Set up a test by creating an Instance and a User. Reduces Test boilerplate.
async fn setup() -> TestBundle { async fn setup() -> TestBundle {
let urls = URLBundle::new( let urls = URLBundle::new(
"http://localhost:3001/api".to_string(), "http://localhost:3001/api".to_string(),