From 387c088318701249b79e68822bcb59f007656427 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 27 Nov 2018 12:39:21 -0500 Subject: [PATCH] Fix documentation formatting (#53) --- src/modules/style/color.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/style/color.rs b/src/modules/style/color.rs index f6143ef..247b9f7 100644 --- a/src/modules/style/color.rs +++ b/src/modules/style/color.rs @@ -23,10 +23,10 @@ use Screen; /// colored_terminal.set_bg(Color::Red); /// // reset color to default /// colored_terminal.reset(); +/// ``` /// /// When you want to use 'color' on 'alternate screen' use the `Screen` type instead and pass it to the `color::from_screen()` function. /// By doing that styling actions will be performed on the alternate screen. -/// ``` pub struct TerminalColor<'stdout> { color: Box, stdout: Option<&'stdout Arc>,