Skip to content

Commit fb68ecc

Browse files
committed
Move string in src/llvm_tools.rs to be on one line so we can remove the comma
1 parent 2bbe120 commit fb68ecc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/llvm_tools.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ pub fn profraws_to_lcov(
8282
fn get_profdata_path() -> Result<PathBuf, String> {
8383
let path = Tool::Profdata.path().map_err(|x| x.to_string())?;
8484
if !path.exists() {
85-
Err(String::from(
86-
"We couldn't find llvm-profdata. Try installing the llvm-tools \
87-
component with `rustup component add llvm-tools-preview`.",
88-
))
85+
Err(String::from("We couldn't find llvm-profdata. Try installing the llvm-tools component with `rustup component add llvm-tools-preview`."))
8986
} else {
9087
Ok(path)
9188
}

0 commit comments

Comments
 (0)