Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 20, 2023
1 parent 0adaf83 commit 21be30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub async fn create_test_database(config: &DatabaseConfig) {
}

pub fn get_host_from_env() -> String {
env::var(WATCH_HOST_ENV_VARIABLE).unwrap_or_else(|| "localhost".to_string())
env::var(WATCH_HOST_ENV_VARIABLE).unwrap_or_else(|_| "localhost".to_string())
}

struct TesterBuilder {
Expand Down

0 comments on commit 21be30c

Please sign in to comment.