From f42ce0cf55c129993041736972f97117c8e5a851 Mon Sep 17 00:00:00 2001 From: Andrey Zheleznov Date: Mon, 19 Feb 2024 16:39:06 +0300 Subject: [PATCH] Fix minor README and docs issues --- README.md | 3 ++- src/lib.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d2d688..1ea731b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The `unwind-context` crate makes debugging panics easier by adding a colored panic context with a simple macro. -![Example](examples/demo.svg) +[![Example](examples/demo.svg)](examples/demo.rs) ## Introduction @@ -154,6 +154,7 @@ fn split(value: &str, at: usize) -> (&str, &str) { } ``` will output: + ![Example](examples/demo.svg) ## Macro expansion diff --git a/src/lib.rs b/src/lib.rs index 5c8b969..a2a4332 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -128,6 +128,7 @@ #![doc = include_str!("../examples/demo.rs")] #![doc = "```"] //! will output: +#![doc = ""] #![doc = include_str!("../examples/demo.html")] //! # Macro expansion //!