From 409ed3c3f60da51695818b8ed7306235ebbf0418 Mon Sep 17 00:00:00 2001 From: Stephen Maldonado Date: Tue, 19 Sep 2023 16:19:51 -0400 Subject: [PATCH] Fixed missing third `/` for some functions Some of the functions were missing the third `/`, leading to a random cut off in documentation and VS-Code's documentation hinting. I added them for this file. --- amqprs/src/api/channel/queue.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/amqprs/src/api/channel/queue.rs b/amqprs/src/api/channel/queue.rs index a939825..a8195bf 100644 --- a/amqprs/src/api/channel/queue.rs +++ b/amqprs/src/api/channel/queue.rs @@ -64,7 +64,7 @@ impl QueueDeclareArguments { } /// Arguments of a durable, non-exclusive, non-autodelete - // queue. Usually a good fit for queues with well-known names. + /// queue. Usually a good fit for queues with well-known names. pub fn durable_client_named(queue: &str) -> Self { #[cfg(feature = "compliance_assert")] assert_queue_name(queue); @@ -81,7 +81,7 @@ impl QueueDeclareArguments { } /// Arguments of an exclusive, transient, server-named - // queue. Usually a good fit for queues that store client-specific transient state. + /// queue. Usually a good fit for queues that store client-specific transient state. pub fn exclusive_server_named() -> Self { Self { queue: "".to_owned(), @@ -95,8 +95,8 @@ impl QueueDeclareArguments { } /// Arguments of an autodelete, transient, client-named - // queue. Usually a good fit for queues that store client-specific transient state - // when server-named queues are not an option. + /// queue. Usually a good fit for queues that store client-specific transient state + /// when server-named queues are not an option. pub fn transient_autodelete(queue: &str) -> Self { Self { queue: queue.to_owned(),