Skip to content

Commit

Permalink
Add a doc entry for into_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
gwilymk committed Mar 6, 2024
1 parent 98d9c13 commit 90fe944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agb/src/display/tiled/infinite_scrolled_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ impl<'a> InfiniteScrolledMap<'a> {
self.map.background()
}

/// Returns the underlying map back. The map will not be cleared.
#[must_use]
pub fn into_inner(self) -> MapLoan<'a, RegularMap> {
self.map
Expand Down

0 comments on commit 90fe944

Please sign in to comment.