mirror of https://github.com/zkat/miette.git
fix
This commit is contained in:
parent
c3a0781e3e
commit
35a904e481
43
README.md
43
README.md
|
|
@ -34,29 +34,24 @@ libraries and such might not want.
|
||||||
|
|
||||||
### Table of Contents <!-- omit in toc -->
|
### Table of Contents <!-- omit in toc -->
|
||||||
|
|
||||||
- [`miette`](#miette)
|
- [About](#about)
|
||||||
- [About](#about)
|
- [Features](#features)
|
||||||
- [Features](#features)
|
- [Installing](#installing)
|
||||||
- [Installing](#installing)
|
- [Example](#example)
|
||||||
- [Example](#example)
|
- [Using](#using)
|
||||||
- [Using](#using)
|
- [... in libraries](#-in-libraries)
|
||||||
- [... in libraries](#-in-libraries)
|
- [... in application code](#-in-application-code)
|
||||||
- [... in application code](#-in-application-code)
|
- [... in `main()`](#-in-main)
|
||||||
- [... in `main()`](#-in-main)
|
- [... diagnostic code URLs](#-diagnostic-code-urls)
|
||||||
- [... diagnostic code URLs](#-diagnostic-code-urls)
|
- [... snippets](#-snippets)
|
||||||
- [... snippets](#-snippets)
|
- [... multiple related errors](#-multiple-related-errors)
|
||||||
- [... help text](#-help-text)
|
- [... delayed source code](#-delayed-source-code)
|
||||||
- [... severity level](#-severity-level)
|
- [... handler options](#-handler-options)
|
||||||
- [... multiple related errors](#-multiple-related-errors)
|
- [... dynamic diagnostics](#-dynamic-diagnostics)
|
||||||
- [... delayed source code](#-delayed-source-code)
|
- [... syntax highlighting](#-syntax-highlighting)
|
||||||
- [... Diagnostic-based error sources.](#-diagnostic-based-error-sources)
|
- [... collection of labels](#-collection-of-labels)
|
||||||
- [... handler options](#-handler-options)
|
- [Acknowledgements](#acknowledgements)
|
||||||
- [... dynamic diagnostics](#-dynamic-diagnostics)
|
- [License](#license)
|
||||||
- [... syntax highlighting](#-syntax-highlighting)
|
|
||||||
- [... collection of labels](#-collection-of-labels)
|
|
||||||
- [MSRV](#msrv)
|
|
||||||
- [Acknowledgements](#acknowledgements)
|
|
||||||
- [License](#license)
|
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
@ -475,7 +470,7 @@ use thiserror::Error;
|
||||||
|
|
||||||
#[derive(Debug, Diagnostic, Error)]
|
#[derive(Debug, Diagnostic, Error)]
|
||||||
#[error("welp")]
|
#[error("welp")]
|
||||||
#[diagnostic(severity("warning"))]
|
#[diagnostic(severity(Warning))]
|
||||||
struct Foo;
|
struct Foo;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue