From eb36bfa2ea5f2766de27a9eac6b568bc2350780d Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 16 Feb 2023 20:40:20 +0100 Subject: [PATCH] Fix code blocks in docstrings --- src/widgets/border.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widgets/border.rs b/src/widgets/border.rs index ac087b1..6b7d02e 100644 --- a/src/widgets/border.rs +++ b/src/widgets/border.rs @@ -16,7 +16,7 @@ pub struct BorderLook { } impl BorderLook { - /// ``` + /// ```text /// +-------+ /// | Hello | /// +-------+ @@ -32,7 +32,7 @@ impl BorderLook { right: "|", }; - /// ``` + /// ```text /// ┌───────┐ /// │ Hello │ /// └───────┘ @@ -48,7 +48,7 @@ impl BorderLook { right: "│", }; - /// ``` + /// ```text /// ┏━━━━━━━┓ /// ┃ Hello ┃ /// ┗━━━━━━━┛ @@ -64,7 +64,7 @@ impl BorderLook { right: "┃", }; - /// ``` + /// ```text /// ╔═══════╗ /// ║ Hello ║ /// ╚═══════╝