From 6656b865b608f7417b5a4b5df1e20811f48c7a82 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 19 Jun 2023 17:49:32 +0300 Subject: docs(tvix/store): correct some cargo doc warnings Change-Id: I5053e3f7dcea01e75baa933e4986396583ff22e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8831 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: flokli --- tvix/store/src/blobservice/grpc.rs | 2 +- tvix/store/src/directoryservice/grpc.rs | 2 +- tvix/store/src/nar/renderer.rs | 2 +- tvix/store/src/pathinfoservice/grpc.rs | 2 +- tvix/store/src/pathinfoservice/sled.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tvix/store/src/blobservice/grpc.rs b/tvix/store/src/blobservice/grpc.rs index 90b7ebf56d5f..a0006eb72f9e 100644 --- a/tvix/store/src/blobservice/grpc.rs +++ b/tvix/store/src/blobservice/grpc.rs @@ -23,7 +23,7 @@ pub struct GRPCBlobService { } impl GRPCBlobService { - /// construct a [GRPCBlobService] from a [proto::blob_service_client::BlobServiceClient]. + /// construct a [GRPCBlobService] from a [proto::blob_service_client::BlobServiceClient]. /// panics if called outside the context of a tokio runtime. pub fn from_client( grpc_client: proto::blob_service_client::BlobServiceClient, diff --git a/tvix/store/src/directoryservice/grpc.rs b/tvix/store/src/directoryservice/grpc.rs index cff3077c7e08..b9a5036a9140 100644 --- a/tvix/store/src/directoryservice/grpc.rs +++ b/tvix/store/src/directoryservice/grpc.rs @@ -22,7 +22,7 @@ pub struct GRPCDirectoryService { } impl GRPCDirectoryService { - /// construct a [GRPCDirectoryService] from a [proto::directory_service_client::DirectoryServiceClient]. + /// construct a [GRPCDirectoryService] from a [proto::directory_service_client::DirectoryServiceClient]. /// panics if called outside the context of a tokio runtime. pub fn from_client( grpc_client: proto::directory_service_client::DirectoryServiceClient, diff --git a/tvix/store/src/nar/renderer.rs b/tvix/store/src/nar/renderer.rs index 4bd31e1513e3..518854c09c45 100644 --- a/tvix/store/src/nar/renderer.rs +++ b/tvix/store/src/nar/renderer.rs @@ -14,7 +14,7 @@ use std::{ }; use tracing::warn; -/// Invoke [render_nar], and return the size and sha256 digest of the produced +/// Invoke [write_nar], and return the size and sha256 digest of the produced /// NAR output. pub fn calculate_size_and_sha256( root_node: &proto::node::Node, diff --git a/tvix/store/src/pathinfoservice/grpc.rs b/tvix/store/src/pathinfoservice/grpc.rs index a14f51c9f890..db9fd63366ea 100644 --- a/tvix/store/src/pathinfoservice/grpc.rs +++ b/tvix/store/src/pathinfoservice/grpc.rs @@ -16,7 +16,7 @@ pub struct GRPCPathInfoService { } impl GRPCPathInfoService { - /// construct a [GRPCDirectoryService] from a [proto::path_info_service_client::PathInfoServiceClient]. + /// construct a [GRPCPathInfoService] from a [proto::path_info_service_client::PathInfoServiceClient]. /// panics if called outside the context of a tokio runtime. pub fn from_client( grpc_client: proto::path_info_service_client::PathInfoServiceClient, diff --git a/tvix/store/src/pathinfoservice/sled.rs b/tvix/store/src/pathinfoservice/sled.rs index 3e5811b1d6ef..2448b073c622 100644 --- a/tvix/store/src/pathinfoservice/sled.rs +++ b/tvix/store/src/pathinfoservice/sled.rs @@ -50,7 +50,7 @@ impl SledPathInfoService { } impl PathInfoService for SledPathInfoService { - /// Constructs a [SledBlobService] from the passed [url::Url]: + /// Constructs a [SledPathInfoService] from the passed [url::Url]: /// - scheme has to be `sled://` /// - there may not be a host. /// - a path to the sled needs to be provided (which may not be `/`). -- cgit 1.4.1