feat: update garde to 0.20.0
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
//! }
|
||||
//!
|
||||
//! async fn handler(Garde(Toml(parameter)): Garde<Toml<Parameter>>) {
|
||||
//! assert!(parameter.validate(&()).is_ok());
|
||||
//! assert!(parameter.validate_with(&()).is_ok());
|
||||
//! // Support automatic dereferencing
|
||||
//! println!("v0 = {}, v1 = {}", parameter.v0, parameter.v1);
|
||||
//! }
|
||||
|
||||
Reference in New Issue
Block a user