Skip to content

Commit acbd20c

Browse files
authored
Merge pull request #74 from yassun7010/add_sorted
chore: add sorted.
2 parents 5f93b20 + e8afdf6 commit acbd20c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

serde_valid_derive/src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ impl Error {
305305
.chain(MetaListFieldValidation::iter().map(|x| x.name()))
306306
.chain(MetaNameValueFieldValidation::iter().map(|x| x.name()))
307307
.unique()
308+
.sorted()
308309
.collect::<Vec<_>>();
309310

310311
let filterd_candidates =

0 commit comments

Comments
 (0)