mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
removed visibility modifier for parse_key_val
This commit is contained in:
parent
f97b07cf68
commit
bbca2211ce
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user