From d46f20e75a7899ab6065d7f1cd07a15d2d998888 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Fri, 27 Nov 2020 18:16:42 -0500 Subject: [PATCH] adjust visibility, comment --- cli/src/lib.rs | 2 +- taskchampion/src/server/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/lib.rs b/cli/src/lib.rs index a71670ac1..48421f25a 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -6,7 +6,7 @@ mod cmd; mod table; use cmd::ArgMatchResult; -pub use cmd::CommandInvocation; +pub(crate) use cmd::CommandInvocation; /// Parse the given command line and return an as-yet un-executed CommandInvocation. pub fn parse_command_line(iter: I) -> Fallible diff --git a/taskchampion/src/server/types.rs b/taskchampion/src/server/types.rs index 473a17e46..b0a28a842 100644 --- a/taskchampion/src/server/types.rs +++ b/taskchampion/src/server/types.rs @@ -11,7 +11,7 @@ pub const NO_VERSION_ID: VersionId = Uuid::nil(); /// data is pre-encoded, and from the protocol level appears as a sequence of bytes. pub type HistorySegment = Vec; -/// VersionAdd is the response type from [`crate:server::Server::add_version`]. +/// VersionAdd is the response type from [`crate::server::Server::add_version`]. #[derive(Debug, PartialEq)] pub enum AddVersionResult { /// OK, version added with the given ID