Skip to content

Commit

Permalink
fix: doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Jan 8, 2024
1 parent b2552a9 commit d59c9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_valid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ where

pub use serde_valid_derive::Validate;

#[doc(hidden)]
pub mod helpers {
#[doc(hidden)]
/// This function is used to avoid [rustc(E0282)](https://doc.rust-lang.org/error_codes/E0282.html) error in `#[validate(custom)]` validator on the struct.
pub fn wrap_closure_validation<T>(
data: &T,
Expand Down

0 comments on commit d59c9eb

Please sign in to comment.