Skip to content

Commit 232e57f

Browse files
committed
fix: fix clippy warning
1 parent 1aa4336 commit 232e57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Default for Nginx {
3737
OsStr::from_bytes(CStr::from_bytes_with_nul(slice).unwrap().to_bytes())
3838
}
3939
let prefix: PathBuf = from_bytes_with_nul(nginx_sys::NGX_PREFIX).into();
40-
fn concat_slice(prefix: &PathBuf, slice: &[u8]) -> PathBuf {
40+
fn concat_slice(prefix: &Path, slice: &[u8]) -> PathBuf {
4141
prefix.join(from_bytes_with_nul(slice))
4242
}
4343
Nginx {

0 commit comments

Comments
 (0)