Skip to content

Commit

Permalink
Merge branch 'master' into no-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-DPC committed Aug 14, 2018
2 parents 96ae325 + 739823b commit a262880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl UuidParseError {
}

/// Check if the length matches any of the given criteria lengths.
pub fn len_matches_any(len: usize, crits: &[usize]) -> bool {
pub(crate) fn len_matches_any(len: usize, crits: &[usize]) -> bool {
for crit in crits {
if len == *crit {
return true;
Expand All @@ -112,7 +112,7 @@ pub fn len_matches_any(len: usize, crits: &[usize]) -> bool {

/// Check if the length matches any criteria lengths in the given range
/// (inclusive).
pub fn len_matches_range(len: usize, min: usize, max: usize) -> bool {
pub(crate) fn len_matches_range(len: usize, min: usize, max: usize) -> bool {
for crit in min..(max + 1) {
if len == crit {
return true;
Expand Down

0 comments on commit a262880

Please sign in to comment.