Fix elided lifetime in associated const

This commit is contained in:
Michael Goulet 2023-08-11 01:06:59 +00:00
parent d78bbf4bde
commit b4a26b0f4c

View File

@ -887,7 +887,7 @@ impl<'cfg> Source for RegistrySource<'cfg> {
impl RegistryConfig {
/// File name of [`RegistryConfig`].
const NAME: &str = "config.json";
const NAME: &'static str = "config.json";
}
/// Get the maximum upack size that Cargo permits