chore: make unit type default (#4916)

This commit is contained in:
Matthias Seitz
2023-10-05 12:45:53 +02:00
committed by GitHub
parent 2c4b8b7f39
commit 005ca6656c

View File

@@ -135,7 +135,7 @@ impl RethNodeCommandConfig for () {}
/// Note: This type must be manually filled with a [RethNodeCommandConfig] manually before executing
/// the [NodeCommand](crate::node::NodeCommand).
#[derive(Debug, Clone, Copy, Default, Args)]
pub struct NoArgs<T> {
pub struct NoArgs<T = ()> {
#[clap(skip)]
inner: Option<T>,
}