Skip to content

Commit

Permalink
Add README as crate level docs (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamGallagher737 authored Nov 20, 2024
1 parent e10dcc4 commit 8a672c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![deny(clippy::std_instead_of_core)]
#![doc = include_str!("../README.md")]

#[cfg(all(feature = "std", feature = "libm"))]
compile_error!("The `std` and `libm` features may not both be enabled simultaneously.");
Expand Down

0 comments on commit 8a672c3

Please sign in to comment.