Skip to content

Commit dc38cab

Browse files
committed
refactor: Constants have by default a static lifetime
1 parent e8e8f5e commit dc38cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustup-mock/src/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub fn change_channel_date(dist_server: &Url, channel: &str, date: &str) {
6060
}
6161

6262
// The manifest version created by this mock
63-
pub const MOCK_MANIFEST_VERSION: &'static str = "2";
63+
pub const MOCK_MANIFEST_VERSION: &str = "2";
6464

6565
// A mock Rust v2 distribution server. Create it and and run `write`
6666
// to write its structure to a directory.

0 commit comments

Comments
 (0)