Deny missing docs again.

This commit is contained in:
Crozet Sébastien 2021-04-11 14:36:27 +02:00
parent 600bb175e7
commit ad5b18ac77
2 changed files with 1 additions and 11 deletions

View File

@ -30,16 +30,6 @@ pub trait Allocator<T: Scalar, R: Dim, C: Dim = U1>: Any + Sized {
ncols: C, ncols: C,
iter: I, iter: I,
) -> Self::Buffer; ) -> Self::Buffer;
unsafe fn allocate_more<R2: Dim, C2: Dim>(
nrows: R2,
ncols: C2,
) -> mem::MaybeUninit<<Self as Allocator<T, R2, C2>>::Buffer>
where
Self: Allocator<T, R2, C2>,
{
<Self as Allocator<T, R2, C2>>::allocate_uninitialized(nrows, ncols)
}
} }
/// A matrix reallocator. Changes the size of the memory buffer that initially contains (RFrom × /// A matrix reallocator. Changes the size of the memory buffer that initially contains (RFrom ×

View File

@ -80,7 +80,7 @@ an optimized set of tools for computer graphics and physics. Those features incl
#![deny(non_upper_case_globals)] #![deny(non_upper_case_globals)]
#![deny(unused_qualifications)] #![deny(unused_qualifications)]
#![deny(unused_results)] #![deny(unused_results)]
// #![deny(missing_docs)] #![deny(missing_docs)]
#![doc( #![doc(
html_favicon_url = "https://nalgebra.org/img/favicon.ico", html_favicon_url = "https://nalgebra.org/img/favicon.ico",
html_root_url = "https://docs.rs/nalgebra/0.25.0" html_root_url = "https://docs.rs/nalgebra/0.25.0"