Skip to content

Commit

Permalink
Merge pull request #287 from knutwalker/patch-1
Browse files Browse the repository at this point in the history
Update build.rs comment to refer to strip_prefix
  • Loading branch information
dtolnay authored Jul 4, 2022
2 parents fe7197e + f579b11 commit a6425e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() {

if compiler < 45 {
// String::strip_prefix.
// https://doc.rust-lang.org/std/primitive.str.html#method.repeat
// https://doc.rust-lang.org/std/primitive.str.html#method.strip_prefix
println!("cargo:rustc-cfg=no_str_strip_prefix");
}

Expand Down

0 comments on commit a6425e6

Please sign in to comment.