Skip to content

Commit

Permalink
Fixed rustdoc warnings in mdarray.
Browse files Browse the repository at this point in the history
  • Loading branch information
metasim committed Sep 4, 2022
1 parent 0aab9eb commit 4626c2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/raster/mdarray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ impl<'a> MDArray<'a> {
///
/// # Params
/// * buffer - Mutable buffer to read into
/// * array_start_index - Values representing the starting index to read in each dimension (in [0, aoDims[i].GetSize()-1] range).
/// Array of GetDimensionCount() values. Must not be empty, unless for a zero-dimensional array.
/// * count - Values representing the number of values to extract in each dimension. Array of GetDimensionCount() values.
/// * array_start_index - Values representing the starting index to read in each dimension (in `[0, aoDims[i].GetSize()-1]` range).
/// Array of `GetDimensionCount()` values. Must not be empty, unless for a zero-dimensional array.
/// * count - Values representing the number of values to extract in each dimension. Array of `GetDimensionCount()` values.
/// Must not be empty, unless for a zero-dimensional array.
///
pub fn read_into_slice<T: Copy + GdalType>(
Expand Down Expand Up @@ -202,9 +202,9 @@ impl<'a> MDArray<'a> {
/// Read a 'Buffer<T>' from this band. T implements 'GdalType'
///
/// # Arguments
/// * array_start_index - Values representing the starting index to read in each dimension (in [0, aoDims[i].GetSize()-1] range).
/// Array of GetDimensionCount() values. Must not be empty, unless for a zero-dimensional array.
/// * count - Values representing the number of values to extract in each dimension. Array of GetDimensionCount() values.
/// * array_start_index - Values representing the starting index to read in each dimension (in `[0, aoDims[i].GetSize()-1]` range).
/// Array of `GetDimensionCount()` values. Must not be empty, unless for a zero-dimensional array.
/// * count - Values representing the number of values to extract in each dimension. Array of `GetDimensionCount()` values.
/// Must not be empty, unless for a zero-dimensional array.
///
pub fn read_as<T: Copy + GdalType>(
Expand Down
1 change: 0 additions & 1 deletion src/raster/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
//! ...
//! ```

#[cfg(all(major_ge_3, minor_ge_1))]
mod mdarray;
mod rasterband;
Expand Down

0 comments on commit 4626c2b

Please sign in to comment.