@@ -2780,12 +2780,12 @@ mod tests {
2780
2780
static CONCURRENT_TEST_SEMAPHORE : Lazy < Arc < Semaphore > > =
2781
2781
Lazy :: new ( || Arc :: new ( Semaphore :: new ( * MAX_CONCURRENT_TESTS ) ) ) ;
2782
2782
2783
- struct RestrictedCoordinator < T > {
2783
+ struct LimitedCoordinator < T > {
2784
2784
_permit : OwnedSemaphorePermit ,
2785
2785
coordinator : Coordinator < T > ,
2786
2786
}
2787
2787
2788
- impl < T > RestrictedCoordinator < T >
2788
+ impl < T > LimitedCoordinator < T >
2789
2789
where
2790
2790
T : Backend ,
2791
2791
{
@@ -2810,29 +2810,29 @@ mod tests {
2810
2810
}
2811
2811
}
2812
2812
2813
- impl < T > ops:: Deref for RestrictedCoordinator < T > {
2813
+ impl < T > ops:: Deref for LimitedCoordinator < T > {
2814
2814
type Target = Coordinator < T > ;
2815
2815
2816
2816
fn deref ( & self ) -> & Self :: Target {
2817
2817
& self . coordinator
2818
2818
}
2819
2819
}
2820
2820
2821
- impl < T > ops:: DerefMut for RestrictedCoordinator < T > {
2821
+ impl < T > ops:: DerefMut for LimitedCoordinator < T > {
2822
2822
fn deref_mut ( & mut self ) -> & mut Self :: Target {
2823
2823
& mut self . coordinator
2824
2824
}
2825
2825
}
2826
2826
2827
- async fn new_coordinator_test ( ) -> RestrictedCoordinator < impl Backend > {
2828
- RestrictedCoordinator :: with ( || Coordinator :: new ( TestBackend :: new ( ) ) ) . await
2827
+ async fn new_coordinator_test ( ) -> LimitedCoordinator < impl Backend > {
2828
+ LimitedCoordinator :: with ( || Coordinator :: new ( TestBackend :: new ( ) ) ) . await
2829
2829
}
2830
2830
2831
- async fn new_coordinator_docker ( ) -> RestrictedCoordinator < impl Backend > {
2832
- RestrictedCoordinator :: with ( || Coordinator :: new_docker ( ) ) . await
2831
+ async fn new_coordinator_docker ( ) -> LimitedCoordinator < impl Backend > {
2832
+ LimitedCoordinator :: with ( || Coordinator :: new_docker ( ) ) . await
2833
2833
}
2834
2834
2835
- async fn new_coordinator ( ) -> RestrictedCoordinator < impl Backend > {
2835
+ async fn new_coordinator ( ) -> LimitedCoordinator < impl Backend > {
2836
2836
#[ cfg( not( force_docker) ) ]
2837
2837
{
2838
2838
new_coordinator_test ( ) . await
0 commit comments