File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,7 @@ pub trait Trigger: Sized + Send {
53
53
}
54
54
55
55
/// Run this trigger.
56
- fn run (
57
- self ,
58
- trigger_app : TriggerApp < Self > ,
59
- ) -> impl Future < Output = anyhow:: Result < ( ) > > + Send ;
56
+ fn run ( self , trigger_app : TriggerApp < Self > ) -> impl Future < Output = anyhow:: Result < ( ) > > + Send ;
60
57
61
58
/// Returns a list of host requirements supported by this trigger specifically.
62
59
///
Original file line number Diff line number Diff line change @@ -422,11 +422,7 @@ Caused by:
422
422
)
423
423
} ;
424
424
ensure_success ( "/hello" , 200 , "I'm a teapot" ) ?;
425
- ensure_success (
426
- "/hello/wildcards/should/be/handled" ,
427
- 200 ,
428
- "I'm a teapot" ,
429
- ) ?;
425
+ ensure_success ( "/hello/wildcards/should/be/handled" , 200 , "I'm a teapot" ) ?;
430
426
ensure_success ( "/thisshouldfail" , 404 , "" ) ?;
431
427
ensure_success ( "/hello/test-placement" , 200 , "text for test" ) ?;
432
428
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments