Add #[allow(dead_code)] annotation to HealthState::new for test usage
All checks were successful
Test / verify-generated-code (pull_request) Successful in 55s
Test / test-frontend (pull_request) Successful in 20s
Test / frontend-build (pull_request) Successful in 23s
Test / test (pull_request) Successful in 1m13s
Test / lint (pull_request) Successful in 1m15s
All checks were successful
Test / verify-generated-code (pull_request) Successful in 55s
Test / test-frontend (pull_request) Successful in 20s
Test / frontend-build (pull_request) Successful in 23s
Test / test (pull_request) Successful in 1m13s
Test / lint (pull_request) Successful in 1m15s
This commit is contained in:
@@ -13,6 +13,7 @@ impl Default for HealthState {
|
||||
}
|
||||
|
||||
impl HealthState {
|
||||
#[allow(dead_code)] // used in tests
|
||||
pub fn new(start_time: Instant) -> Self {
|
||||
Self { start_time }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user