Skip to main content

apollo_configuration/types/
arc.rs

1//! Validate implementation for `Arc<T>`.
2
3use std::sync::Arc;
4
5use crate::ErrorCollector;
6use crate::Validate;
7
8impl<T: Validate> Validate for Arc<T> {
9    fn validate(&self, errors: ErrorCollector<'_>) {
10        (**self).validate(errors);
11    }
12}