Skip to content

Commit bba8ad7

Browse files
committed
Make platform_msg a literal
1 parent 93e6d7d commit bba8ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/self_update.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub const NEVER_SELF_UPDATE: bool = false;
6565
// argument of format! needs to be a literal.
6666

6767
macro_rules! pre_install_msg_template {
68-
($platform_msg: expr) => {
68+
($platform_msg:literal) => {
6969
concat!(
7070
r"
7171
# Welcome to Rust!

0 commit comments

Comments
 (0)