File tree 2 files changed +2
-8
lines changed
packages/rusaint/src/webdynpro/element/layout
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ repositories {
81
81
82
82
``` kotlin
83
83
dependencies {
84
- implementation(" dev.eatsteak:rusaint:0.8.2 " )
84
+ implementation(" dev.eatsteak:rusaint:0.9.0 " )
85
85
}
86
86
```
87
87
Original file line number Diff line number Diff line change @@ -40,13 +40,7 @@ impl<'a> ButtonRow<'a> {
40
40
let button_selector = & Selector :: parse ( r#":root [ct="B"]"# ) . unwrap ( ) ;
41
41
self . element_ref
42
42
. select ( button_selector)
43
- . filter_map ( |elem| {
44
- let def = <Button < ' a > as Element < ' a > >:: Def :: from_ref ( elem) ;
45
- match def {
46
- Ok ( button_def) => Some ( button_def) ,
47
- _ => None ,
48
- }
49
- } )
43
+ . filter_map ( |elem| <Button < ' a > as Element < ' a > >:: Def :: from_ref ( elem) . ok ( ) )
50
44
. collect :: < Vec < <Button < ' a > as Element < ' a > >:: Def > > ( )
51
45
} )
52
46
. iter ( )
You can’t perform that action at this time.
0 commit comments