Add a doc entry for into_inner

This commit is contained in:
Gwilym Inzani 2024-03-06 09:02:40 +00:00
parent 98d9c133c7
commit 90fe94424f

View file

@ -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