Skip to content

Commit

Permalink
Update build.rs comment to refer to strip_prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker authored Jul 4, 2022
1 parent fe7197e commit f579b11
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 f579b11

Please sign in to comment.