Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Jun 28, 2024
1 parent 121dd3d commit 364e3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/core/src/data_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub trait CanLoad<M: DataMarker>: DataProvider<M> {
///
/// Other errors are returned as [`load`] would.
///
/// [`load`]: Self::load
/// [`load`]: DataProvider::load
fn can_load(&self, req: DataRequest) -> Result<bool, DataError> {
match self.load(req) {
Ok(_) => Ok(true),
Expand Down Expand Up @@ -119,7 +119,7 @@ pub trait DynamicCanLoad<M: DynamicDataMarker>: DynamicDataProvider<M> {
///
/// Other errors are returned as [`load_data`] would.
///
/// [`load_data`]: Self::load_data
/// [`load_data`]: DynamicDataProvider::load_data
fn can_load_data(&self, marker: DataMarkerInfo, req: DataRequest) -> Result<bool, DataError> {
match self.load_data(marker, req) {
Ok(_) => Ok(true),
Expand Down

0 comments on commit 364e3c7

Please sign in to comment.