This commit is contained in:
daladim 2021-07-05 11:08:18 +02:00
parent 72e05dc6c9
commit fbd076875a

View file

@ -85,7 +85,7 @@ where
pub fn local_mut(&mut self) -> &mut L { &mut self.local } pub fn local_mut(&mut self) -> &mut L { &mut self.local }
/// Returns the data source described as `remote`. /// Returns the data source described as `remote`.
/// ///
/// Apart in tests, there are very few (if any) reasons to access `remote` directly. /// Apart from tests, there are very few (if any) reasons to access `remote` directly.
/// Usually, you should rather use the `local` source, which (usually) is a much faster local cache. /// Usually, you should rather use the `local` source, which (usually) is a much faster local cache.
/// To be sure `local` accurately mirrors the `remote` source, you can run [`Provider::sync`] /// To be sure `local` accurately mirrors the `remote` source, you can run [`Provider::sync`]
pub fn remote(&self) -> &R { &self.remote } pub fn remote(&self) -> &R { &self.remote }