Skip to content

Commit b3ea031

Browse files
committed
Fixing clippy wraning
1 parent dd02037 commit b3ea031

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/modal.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ impl MakeWidget for &ItemForm {
134134
}
135135

136136
impl ItemForm {
137+
#[allow(clippy::ptr_arg)]
137138
fn validate_name(input: &String) -> Result<(), &'static str> {
138139
if input.is_empty() {
139140
Err("This field cannot be empty")

0 commit comments

Comments
 (0)