Skip to content

Commit 35a3c85

Browse files
committed
style(runtime): collapse the with_add_ons signature onto one line
The RuntimeAddOns -> RuntimeAddOn rename shortened the parameter type so the signature now fits within the width limit; re-format to match.
1 parent 2e5efb5 commit 35a3c85

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

crates/nexum-runtime/src/builder.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,7 @@ pub struct ComponentsStage<'a, T: RuntimeTypes, C, S, E> {
475475

476476
impl<'a, T: RuntimeTypes, C, S, E> ComponentsStage<'a, T, C, S, E> {
477477
/// Bind the cross-cutting add-on set installed before the engine boots.
478-
pub fn with_add_ons(
479-
self,
480-
add_ons: &'a [&'a dyn RuntimeAddOn],
481-
) -> ReadyBuilder<'a, T, C, S, E> {
478+
pub fn with_add_ons(self, add_ons: &'a [&'a dyn RuntimeAddOn]) -> ReadyBuilder<'a, T, C, S, E> {
482479
ReadyBuilder {
483480
config: self.config,
484481
extensions: self.extensions,

0 commit comments

Comments
 (0)