mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
types: fix dangling doc reference
This commit is contained in:
parent
decb5c67a6
commit
2530a557a9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue