Skip to content

Commit ca726a1

Browse files
dilawarXenira
andauthored
Update crates/cli/src/lib.rs
comment -> doc Co-authored-by: Xenira <[email protected]>
1 parent 0e3f895 commit ca726a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/cli/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -603,11 +603,11 @@ fn build_ext(
603603
bail!("Failed to retrieve extension path from artifact")
604604
}
605605

606-
// Write content to a given filepath.
607-
//
608-
// We may not have write permission but we may have sudo privilege on unix. So
609-
// we write to a temp file and then try moving it to given filepath, and retry
610-
// with sudo on unix.
606+
/// Write content to a given filepath.
607+
///
608+
/// We may not have write permission but we may have sudo privilege on unix. So
609+
/// we write to a temp file and then try moving it to given filepath, and retry
610+
/// with sudo on unix.
611611
fn write_to_file(content: String, filepath: &PathBuf) -> anyhow::Result<()> {
612612
// write to a temp file
613613
let tempf = std::env::temp_dir().join("__tmp_cargo_php");

0 commit comments

Comments
 (0)