mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-04-04 14:39:43 +00:00
fix err fn
This commit is contained in:
@@ -203,7 +203,6 @@ fn cli_example() {
|
||||
matches => AppState { seed: Arc::new(ConfigSeed {
|
||||
host: Host::parse(matches.value_of("host").unwrap_or("localhost")).unwrap(),
|
||||
port: matches.value_of("port").unwrap_or("8000").parse().unwrap(),
|
||||
}), data: () },
|
||||
|code| if code < 0 { 1 } else { code }
|
||||
}), data: () }
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user