From b90433f7dca3a8f0f2c4736d3c0a329b3d622907 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 11 Jun 2021 13:01:24 +0200 Subject: Fix markup of doc comment Signed-off-by: Matthias Beyer --- src/container.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/container.rs b/src/container.rs index 0f9229c..83b5475 100644 --- a/src/container.rs +++ b/src/container.rs @@ -114,11 +114,13 @@ impl<'docker> Container<'docker> { .await } - /// Attaches a `[TtyMultiplexer]` to the container. + /// Attaches a [Multiplexer](crate::tty::Multiplexer) to the container. /// - /// The `[TtyMultiplexer]` implements Stream for returning Stdout and Stderr chunks. It also implements `[AsyncWrite]` for writing to Stdin. + /// The [Multiplexer](crate::tty::Multiplexer) implements Stream for returning Stdout and + /// Stderr chunks. It also implements `[AsyncWrite]` for writing to Stdin. /// - /// The multiplexer can be split into its read and write halves with the `[split](TtyMultiplexer::split)` method + /// The multiplexer can be split into its read and write halves with the + /// [split](crate::tty::Multiplexer::split) method /// /// [Api Reference](https://docs.docker.com/engine/api/v1.41/#operation/ContainerAttach) pub async fn attach(&self) -> Result> { -- cgit v1.2.3