Skip to content

Commit

Permalink
bunch of clippy/fmt cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Mar 15, 2023
1 parent 5d38891 commit 1108842
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 351 deletions.
2 changes: 1 addition & 1 deletion jsonschema/src/keywords/ref_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub(crate) fn compile<'a>(
)
}

pub(crate) fn supports_adjacent_validation(draft: Draft) -> bool {
pub(crate) const fn supports_adjacent_validation(draft: Draft) -> bool {
match draft {
#[cfg(feature = "draft201909")]
Draft::Draft201909 => true,
Expand Down
Loading

0 comments on commit 1108842

Please sign in to comment.