mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-12 07:16:52 +00:00
docs: add missing backticks in documentation
this improve readability of documentation. enable associated clippy lint `doc_markdown`
This commit is contained in:
@@ -142,10 +142,10 @@ impl TryFrom<HelperError> for CommonError {
|
||||
}
|
||||
}
|
||||
|
||||
/// This function converts HelperErrors into CommonErrors,
|
||||
/// for variants that exist in CommonError.
|
||||
/// This is used for helper functions that might return InvalidBucketName
|
||||
/// or NoSuchBucket for instance, and we want to pass that error
|
||||
/// This function converts `HelperErrors` into `CommonErrors`,
|
||||
/// for variants that exist in `CommonError`.
|
||||
/// This is used for helper functions that might return `InvalidBucketName`
|
||||
/// or `NoSuchBucket` for instance, and we want to pass that error
|
||||
/// up to our caller.
|
||||
pub fn pass_helper_error(err: HelperError) -> CommonError {
|
||||
match CommonError::try_from(err) {
|
||||
|
||||
Reference in New Issue
Block a user