clippy_nyx (#2401)
This commit is contained in:
parent
8919024e83
commit
9d5be4ede1
@ -827,7 +827,7 @@ where
|
||||
if state.stop_requested() {
|
||||
state.discard_stop_request();
|
||||
manager.on_shutdown()?;
|
||||
return Err(Error::shutting_down())
|
||||
return Err(Error::shutting_down());
|
||||
}
|
||||
|
||||
Ok(id)
|
||||
|
@ -32,6 +32,7 @@ pub struct NyxExecutor<S, OT> {
|
||||
|
||||
impl NyxExecutor<(), ()> {
|
||||
/// Create a builder for [`NyxExeuctor`]
|
||||
#[must_use]
|
||||
pub fn builder() -> NyxExecutorBuilder {
|
||||
NyxExecutorBuilder::new()
|
||||
}
|
||||
@ -157,6 +158,7 @@ impl Default for NyxExecutorBuilder {
|
||||
}
|
||||
|
||||
impl NyxExecutorBuilder {
|
||||
#[must_use]
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
stdout: None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user