diff --git a/src/layers/tile/mod.rs b/src/layers/tile/mod.rs index 109554c4..09dbc3f0 100644 --- a/src/layers/tile/mod.rs +++ b/src/layers/tile/mod.rs @@ -57,7 +57,7 @@ impl LayerTileData { | Self::FLIPPED_VERTICALLY_FLAG | Self::FLIPPED_DIAGONALLY_FLAG; - /// Creates a new [`LayerTileData`] from a [`GID`] plus its flipping bits. + /// Creates a new [`LayerTileData`] from a [`Gid`] plus its flipping bits. pub(crate) fn from_bits(bits: u32, tilesets: &[MapTilesetGid]) -> Option { let flags = bits & Self::ALL_FLIP_FLAGS; let gid = Gid(bits & !Self::ALL_FLIP_FLAGS); diff --git a/src/map.rs b/src/map.rs index 8da96a97..7b6c569c 100644 --- a/src/map.rs +++ b/src/map.rs @@ -315,7 +315,7 @@ impl fmt::Display for Orientation { /// Tiled also treats GID 0 as empty space, which means that the first tileset in the map will have /// a starting GID of 1. /// -/// See also: https://doc.mapeditor.org/en/latest/reference/global-tile-ids/ +/// See also: #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub(crate) struct Gid(pub u32);