mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix elided lifetime in associated const
This commit is contained in:
parent
d78bbf4bde
commit
b4a26b0f4c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user