Skip to content

Commit

Permalink
pub cursor_mut
Browse files Browse the repository at this point in the history
Signed-off-by: guoweikang <[email protected]>
  • Loading branch information
guoweikang committed Oct 24, 2024
1 parent 226391c commit c1fe2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raw_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ impl<G: GetLinks> RawList<G> {
}

/// Returns a mut cursor starting on the first element of the list.
pub(crate) fn cursor_front_mut(&mut self) -> CursorMut<'_, G> {
pub fn cursor_front_mut(&mut self) -> CursorMut<'_, G> {
CursorMut::new(self, self.front())
}
}
Expand Down

0 comments on commit c1fe2c8

Please sign in to comment.