types: fix dangling doc reference

This commit is contained in:
Matthias Schiffer 2023-02-18 11:07:29 +01:00
parent decb5c67a6
commit 2530a557a9
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -97,8 +97,8 @@ impl SectionBlockCoords {
/// Computes a block's offset in various data structures
///
/// Many chunk data structures store block and biome data in the same
/// order. [BlockCoords::offset] computes the offset at which the data
/// for the block at a given coordinate is stored.
/// order. This method computes the offset at which the data for the
/// block at a given coordinate is stored.
pub fn offset(&self) -> usize {
use BLOCKS_PER_CHUNK as N;
let x = self.xz.x.0 as usize;