From b1c3fdb15ba1df9e95e82085ea259f850510fe68 Mon Sep 17 00:00:00 2001 From: Asger Hautop Drewsen Date: Thu, 22 May 2025 11:04:00 +0200 Subject: [PATCH] Add links to num-integer crate --- README.md | 2 ++ src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index fd420705..57639f7d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Numeric traits for generic mathematics in Rust. +See the [`num-integer`](https://docs.rs/num-integer/) crate for the `Integer` trait. + ## Usage Add this to your `Cargo.toml`: diff --git a/src/lib.rs b/src/lib.rs index d392e920..0f161df8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,6 +10,8 @@ //! Numeric traits for generic mathematics //! +//! See the [`num-integer`](https://docs.rs/num-integer/) crate for the `Integer` trait. +//! //! ## Compatibility //! //! The `num-traits` crate is tested for rustc 1.60 and greater.