From dd8e8392070374209f30df59c9f0d6294894eee7 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Fri, 6 Oct 2023 10:51:27 +0200 Subject: [PATCH] fix new rustdoc lints --- crates/symbolicator-service/src/caching/cache_error.rs | 2 +- crates/symbolicator-service/src/caching/cache_key.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/symbolicator-service/src/caching/cache_error.rs b/crates/symbolicator-service/src/caching/cache_error.rs index 5faa6e8fc..af4e6ebd1 100644 --- a/crates/symbolicator-service/src/caching/cache_error.rs +++ b/crates/symbolicator-service/src/caching/cache_error.rs @@ -152,7 +152,7 @@ impl CacheError { /// object could not be fetched or is otherwise unusable. pub type CacheEntry = Result; -/// Parses a [`CacheEntry`] from a [`ByteView`](ByteView). +/// Parses a [`CacheEntry`] from a [`ByteView`]. pub fn cache_entry_from_bytes(bytes: ByteView<'static>) -> CacheEntry> { CacheError::from_bytes(&bytes).map(Err).unwrap_or(Ok(bytes)) } diff --git a/crates/symbolicator-service/src/caching/cache_key.rs b/crates/symbolicator-service/src/caching/cache_key.rs index bfe56b6c4..6d5d9fbaa 100644 --- a/crates/symbolicator-service/src/caching/cache_key.rs +++ b/crates/symbolicator-service/src/caching/cache_key.rs @@ -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.