Skip to content

Commit 3dfe8a4

Browse files
authored
Update README.md
1 parent f7491b4 commit 3dfe8a4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ derive(Display) /// `From<docs>`
55
[![Rust Documentation](https://img.shields.io/badge/api-rustdoc-blue.svg)](https://docs.rs/displaydoc)
66

77
This library provides a convenient derive macro for the standard library's
8-
[`std::fmt::Display`] trait.
8+
[`core::fmt::Display`] trait.
99

10-
[`std::fmt::Display`]: https://doc.rust-lang.org/std/fmt/trait.Display.html
10+
[`core::fmt::Display`]: https://doc.rust-lang.org/std/fmt/trait.Display.html
1111

1212
```toml
1313
[dependencies]
@@ -57,6 +57,13 @@ pub enum DataStoreError {
5757

5858
<br>
5959

60+
## FAQ
61+
62+
1. **Is this crate `no_std` compatible?**
63+
* Yes! This crate implements the `core::fmt::Display` trait not the `std::fmt::Display` trait so it should work in `std` and `no_std` environments.
64+
65+
<br>
66+
6067
#### License
6168

6269
<sup>

0 commit comments

Comments
 (0)