File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " twilight-interactions"
3- version = " 0.16.1 "
3+ version = " 0.16.2 "
44description = " Macros and utilities to make Discord Interactions easy to use with Twilight."
55categories = [" parsing" , " config" , " asynchronous" ]
66keywords = [" twilight" , " discord" , " slash-command" ]
Original file line number Diff line number Diff line change @@ -452,13 +452,13 @@ impl CommandOption for String {
452452 } ;
453453
454454 if let Some ( min) = data. min_length {
455- if value. len ( ) < min . into ( ) {
455+ if value. len ( ) < usize :: from ( min ) {
456456 todo ! ( )
457457 }
458458 }
459459
460460 if let Some ( max) = data. max_length {
461- if value. len ( ) > max . into ( ) {
461+ if value. len ( ) > usize :: from ( max ) {
462462 todo ! ( )
463463 }
464464 }
You can’t perform that action at this time.
0 commit comments