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