Fix documentation compilation

This commit is contained in:
Gwilym Inzani 2023-04-18 20:07:08 +01:00
parent bace62b8e3
commit 6575a067b5

View file

@ -71,10 +71,10 @@
/// tiled::{RegularBackgroundSize, TileFormat, TileSet, TileSetting, Tiled0, TiledMap, VRamManager}, /// tiled::{RegularBackgroundSize, TileFormat, TileSet, TileSetting, Tiled0, TiledMap, VRamManager},
/// Priority, /// Priority,
/// }, /// },
/// include_gfx, /// include_background_gfx,
/// }; /// };
/// ///
/// agb::include_background_gfx!(water_tiles, tiles => "exmaples/water_tiles.png"); /// agb::include_background_gfx!(water_tiles, tiles => "examples/water_tiles.png");
/// ///
/// # fn load_tileset(mut gfx: Tiled0, mut vram: VRamManager) { /// # fn load_tileset(mut gfx: Tiled0, mut vram: VRamManager) {
/// let tileset = TileSet::new(water_tiles::tiles.tiles, TileFormat::FourBpp); /// let tileset = TileSet::new(water_tiles::tiles.tiles, TileFormat::FourBpp);