diff --git a/apollo-federation/src/operation/selection_map.rs b/apollo-federation/src/operation/selection_map.rs index a13627c05e9..8c83abf25a6 100644 --- a/apollo-federation/src/operation/selection_map.rs +++ b/apollo-federation/src/operation/selection_map.rs @@ -593,7 +593,7 @@ pub(crate) enum Entry<'a> { } impl<'a> Entry<'a> { - pub fn or_insert( + pub(crate) fn or_insert( self, produce: impl FnOnce() -> Result, ) -> Result, FederationError> {