removed visibility modifier for parse_key_val

This commit is contained in:
marcusdunn 2023-08-15 14:05:57 -07:00
parent f97b07cf68
commit bbca2211ce

View File

@ -216,7 +216,7 @@ fn init_logging() {
// Taken from https://github.com/clap-rs/clap/blob/master/examples/typed-derive.rs#L48
// Used to parse LogitBias's
pub(crate) fn parse_key_val<T, U>(s: &str) -> Result<(T, U), Box<dyn std::error::Error + Send + Sync + 'static>>
fn parse_key_val<T, U>(s: &str) -> Result<(T, U), Box<dyn std::error::Error + Send + Sync + 'static>>
where
T: std::str::FromStr,
T::Err: std::error::Error + Send + Sync + 'static,