Skip to content

Commit

Permalink
fix new rustdoc lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Oct 6, 2023
1 parent 4f57938 commit dd8e839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/symbolicator-service/src/caching/cache_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl CacheError {
/// object could not be fetched or is otherwise unusable.
pub type CacheEntry<T = ()> = Result<T, CacheError>;

/// Parses a [`CacheEntry`] from a [`ByteView`](ByteView).
/// Parses a [`CacheEntry`] from a [`ByteView`].
pub fn cache_entry_from_bytes(bytes: ByteView<'static>) -> CacheEntry<ByteView<'static>> {
CacheError::from_bytes(&bytes).map(Err).unwrap_or(Ok(bytes))
}
2 changes: 1 addition & 1 deletion crates/symbolicator-service/src/caching/cache_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl CacheKey {

/// A builder for [`CacheKey`]s.
///
/// This builder implements the [`Write`](std::fmt::Write) trait, and the intention of it is to
/// This builder implements the [`Write`] trait, and the intention of it is to
/// accept human readable, but most importantly **stable**, input.
/// This input in then being hashed to form the [`CacheKey`], and can also be serialized alongside
/// the cache files to help debugging.
Expand Down

0 comments on commit dd8e839

Please sign in to comment.