Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
fix: doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Jun 5, 2024
1 parent 2a81ffe commit 319c8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/src/parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ where
/// # use common::parsing::parse_range_exclusive;
/// assert_eq!(parse_range_exclusive::<usize>("0..10"), Ok(0..10));
/// ```
pub(crate) fn parse_range_exclusive<NumberT>(
pub fn parse_range_exclusive<NumberT>(
s: &str,
) -> Result<Range<NumberT>, RangeParseError<NumberT>>
where
Expand All @@ -51,7 +51,7 @@ where
/// # use common::parsing::parse_range_inclusive;
/// assert_eq!(parse_range_inclusive::<usize>("0..=10"), Ok(0..11));
/// ```
pub(crate) fn parse_range_inclusive<NumberT>(
pub fn parse_range_inclusive<NumberT>(
s: &str,
) -> Result<Range<NumberT>, RangeParseError<NumberT>>
where
Expand Down

0 comments on commit 319c8a9

Please sign in to comment.