Skip to content

Commit

Permalink
Fix elided lifetime in associated const
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Aug 11, 2023
1 parent d78bbf4 commit b4a26b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/sources/registry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4a26b0

Please sign in to comment.