We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa4336 commit 232e57fCopy full SHA for 232e57f
src/test_util.rs
@@ -37,7 +37,7 @@ impl Default for Nginx {
37
OsStr::from_bytes(CStr::from_bytes_with_nul(slice).unwrap().to_bytes())
38
}
39
let prefix: PathBuf = from_bytes_with_nul(nginx_sys::NGX_PREFIX).into();
40
- fn concat_slice(prefix: &PathBuf, slice: &[u8]) -> PathBuf {
+ fn concat_slice(prefix: &Path, slice: &[u8]) -> PathBuf {
41
prefix.join(from_bytes_with_nul(slice))
42
43
Nginx {
0 commit comments