Skip to content

Commit

Permalink
Fix minor README and docs issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zheland committed Feb 19, 2024
1 parent 66cc559 commit f42ce0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -154,6 +154,7 @@ fn split(value: &str, at: usize) -> (&str, &str) {
}
```
will output:

![Example](examples/demo.svg)

## Macro expansion
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
#![doc = include_str!("../examples/demo.rs")]
#![doc = "```"]
//! will output:
#![doc = ""]
#![doc = include_str!("../examples/demo.html")]
//! # Macro expansion
//!
Expand Down

0 comments on commit f42ce0c

Please sign in to comment.