diff options
Diffstat (limited to 'tvix/store/src/blobservice')
-rw-r--r-- | tvix/store/src/blobservice/from_addr.rs | 2 | ||||
-rw-r--r-- | tvix/store/src/blobservice/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/blobservice/from_addr.rs b/tvix/store/src/blobservice/from_addr.rs index bef1a45a1c3c..2e0a30697d75 100644 --- a/tvix/store/src/blobservice/from_addr.rs +++ b/tvix/store/src/blobservice/from_addr.rs @@ -10,7 +10,7 @@ use super::{BlobService, GRPCBlobService, MemoryBlobService, SledBlobService}; /// - `sled://` ([SledBlobService]) /// - `grpc+*://` ([GRPCBlobService]) /// -/// See their [from_url] methods for more details about their syntax. +/// See their `from_url` methods for more details about their syntax. pub fn from_addr(uri: &str) -> Result<Arc<dyn BlobService>, crate::Error> { let url = Url::parse(uri) .map_err(|e| crate::Error::StorageError(format!("unable to parse url: {}", e)))?; diff --git a/tvix/store/src/blobservice/mod.rs b/tvix/store/src/blobservice/mod.rs index 027b34eb4c6f..33cfb113edd3 100644 --- a/tvix/store/src/blobservice/mod.rs +++ b/tvix/store/src/blobservice/mod.rs @@ -51,5 +51,5 @@ pub trait BlobWriter: io::Write + Send + Sync + 'static { /// A [io::Read] that also allows seeking. pub trait BlobReader: io::Read + io::Seek + Send + 'static {} -/// A Cursor<Vec<u8>> can be used as a BlobReader. +/// A [`io::Cursor<Vec<u8>>`] can be used as a BlobReader. impl BlobReader for io::Cursor<Vec<u8>> {} |