Skip to content

Commit ef5be93

Browse files
committed
Fix formatting
Signed-off-by: Lann Martin <[email protected]>
1 parent a33b386 commit ef5be93

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

crates/trigger/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ pub trait Trigger: Sized + Send {
5353
}
5454

5555
/// 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;
6057

6158
/// Returns a list of host requirements supported by this trigger specifically.
6259
///

tests/integration.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,7 @@ Caused by:
422422
)
423423
};
424424
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")?;
430426
ensure_success("/thisshouldfail", 404, "")?;
431427
ensure_success("/hello/test-placement", 200, "text for test")?;
432428
Ok(())

0 commit comments

Comments
 (0)