diff --git a/src/directory.rs b/src/directory.rs index aad8509..49151f6 100644 --- a/src/directory.rs +++ b/src/directory.rs @@ -195,7 +195,7 @@ impl Directory { /// # Arguments /// * `input` - Reader including directory bytes /// * `length` - Length of the directory (in bytes) - /// * `compression` - Compression of the directory + /// * `compression` - Compression of the directory /// /// # Errors /// Will return [`Err`] if `compression` is set to [`Compression::Unknown`], the data is not compressed correctly @@ -219,7 +219,7 @@ impl Directory { Self::from_reader_impl(input, length, compression) } - /// Reads a directory from anything that can be turned into a byte slice (e.g. [`Vec`]). + /// Reads a directory from anything that can be turned into a byte slice (e.g. [`Vec`]). /// /// # Arguments /// * `bytes` - Input bytes @@ -249,7 +249,7 @@ impl Directory { /// # Arguments /// * `input` - Reader including directory bytes /// * `length` - Length of the directory (in bytes) - /// * `compression` - Compression of the directory + /// * `compression` - Compression of the directory /// /// # Errors /// Will return [`Err`] if `compression` is set to [`Compression::Unknown`], the data is not compressed correctly diff --git a/src/pmtiles.rs b/src/pmtiles.rs index faac0a9..3e3f95a 100644 --- a/src/pmtiles.rs +++ b/src/pmtiles.rs @@ -457,7 +457,7 @@ impl PMTiles { /// possible archive size. /// /// This takes ownership of the object so all data does not need to be copied. - /// This prevents large memory consumption when writing large `PMTiles` archives. + /// This prevents large memory consumption when writing large `PMTiles` archives. /// /// # Arguments /// * `output` - Writer to write data to @@ -608,7 +608,7 @@ impl PMTiles { /// possible archive size. /// /// This takes ownership of the object so all data does not need to be copied. - /// This prevents large memory consumption when writing large `PMTiles` archives. + /// This prevents large memory consumption when writing large `PMTiles` archives. /// /// # Arguments /// * `output` - Writer to write data to