Skip to content

Commit b4a26b0

Browse files
Fix elided lifetime in associated const
1 parent d78bbf4 commit b4a26b0

File tree

1 file changed

+1
-1
lines changed
  • src/cargo/sources/registry

1 file changed

+1
-1
lines changed

src/cargo/sources/registry/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ impl<'cfg> Source for RegistrySource<'cfg> {
887887

888888
impl RegistryConfig {
889889
/// File name of [`RegistryConfig`].
890-
const NAME: &str = "config.json";
890+
const NAME: &'static str = "config.json";
891891
}
892892

893893
/// Get the maximum upack size that Cargo permits

0 commit comments

Comments
 (0)