Skip to content

Commit

Permalink
Merge pull request #344 from rust-ndarray/deny-private-intra-doc-links
Browse files Browse the repository at this point in the history
Deny `rustdoc::private_intra_doc_links` lint
  • Loading branch information
termoshtt committed Sep 25, 2022
2 parents 10ae296 + 28be9bb commit 0b133cf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lax/src/eigh.rs
@@ -1,4 +1,4 @@
//! Eigenvalue problem for symmetric/Hermite matricies
//! Eigenvalue problem for symmetric/Hermitian matricies
//!
//! LAPACK correspondance
//! ----------------------
Expand Down
2 changes: 1 addition & 1 deletion lax/src/eigh_generalized.rs
@@ -1,4 +1,4 @@
//! Compute generalized right eigenvalue and eigenvectors
//! Generalized eigenvalue problem for symmetric/Hermitian matrices
//!
//! LAPACK correspondance
//! ----------------------
Expand Down
8 changes: 3 additions & 5 deletions lax/src/lib.rs
Expand Up @@ -72,7 +72,7 @@
//! for solving least square problem by SVD
//!

#![deny(rustdoc::broken_intra_doc_links)]
#![deny(rustdoc::broken_intra_doc_links, rustdoc::private_intra_doc_links)]

#[cfg(any(feature = "intel-mkl-system", feature = "intel-mkl-static"))]
extern crate intel_mkl_src as _src;
Expand All @@ -88,11 +88,11 @@ pub mod flags;
pub mod layout;

pub mod eig;
pub mod eigh;
pub mod eigh_generalized;

mod alloc;
mod cholesky;
mod eigh;
mod eigh_generalized;
mod least_squares;
mod opnorm;
mod qr;
Expand All @@ -105,8 +105,6 @@ mod triangular;
mod tridiagonal;

pub use self::cholesky::*;
pub use self::eigh::*;
pub use self::eigh_generalized::*;
pub use self::flags::*;
pub use self::least_squares::*;
pub use self::opnorm::*;
Expand Down
2 changes: 1 addition & 1 deletion ndarray-linalg/src/lib.rs
Expand Up @@ -44,7 +44,7 @@
clippy::type_complexity,
clippy::ptr_arg
)]
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(rustdoc::broken_intra_doc_links, rustdoc::private_intra_doc_links)]

#[macro_use]
extern crate ndarray;
Expand Down

0 comments on commit 0b133cf

Please sign in to comment.