Skip to content

Commit

Permalink
fix(provider): Fixes missing slash for doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thomastaylor312 committed Oct 14, 2021
1 parent 0b0f660 commit c5a70f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/provider/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ pub trait Provider {
I: TryInto<Id> + Send,
I::Error: Into<ProviderError>;

// Checks if the given parcel ID exists within an invoice. The default implementation will fetch
// the parcel and check if the given parcel ID exists. Returns the parcel label if valid. Most
// providers should implement some sort of caching for `get_yanked_invoice` to avoid fetching
// the invoice every single time a parcel is requested. Provider implementations may also
// implement this function to include other validation logic if desired.
/// Checks if the given parcel ID exists within an invoice. The default implementation will fetch
/// the parcel and check if the given parcel ID exists. Returns the parcel label if valid. Most
/// providers should implement some sort of caching for `get_yanked_invoice` to avoid fetching
/// the invoice every single time a parcel is requested. Provider implementations may also
/// implement this function to include other validation logic if desired.
async fn validate_parcel<I>(&self, bindle_id: I, parcel_id: &str) -> Result<crate::Label>
where
I: TryInto<Id> + Send,
Expand Down

0 comments on commit c5a70f8

Please sign in to comment.