This commit is contained in:
Pat Hickey
2021-10-20 16:34:13 -07:00
parent 147c8f8ed7
commit 9d1b24632e

View File

@@ -540,6 +540,7 @@ impl<T> Store<T> {
/// Note that this limiter is only used to limit the creation/growth of /// Note that this limiter is only used to limit the creation/growth of
/// resources in the future, this does not retroactively attempt to apply /// resources in the future, this does not retroactively attempt to apply
/// limits to the [`Store`]. /// limits to the [`Store`].
#[cfg(feature = "async")]
pub fn limiter_async( pub fn limiter_async(
&mut self, &mut self,
mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync) mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync)