Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/builders/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl ModuleBuilder {
///
/// * `func` - The function to be called when startup is requested.
pub fn request_startup_function(mut self, func: StartupShutdownFunc) -> Self {
self.module.module_startup_func = Some(func);
self.module.request_startup_func = Some(func);
self
}

Expand All @@ -121,7 +121,7 @@ impl ModuleBuilder {
///
/// * `func` - The function to be called when shutdown is requested.
pub fn request_shutdown_function(mut self, func: StartupShutdownFunc) -> Self {
self.module.module_shutdown_func = Some(func);
self.module.request_shutdown_func = Some(func);
self
}

Expand Down