Merge pull request #72 from sylvestre/windows-clippy

fix a clippy warning on windows
This commit is contained in:
Terts Diepraam
2024-03-03 23:11:23 +01:00
committed by GitHub
+1 -1
View File
@@ -364,7 +364,7 @@ pub fn WinAPI_VerifyVersionInfoW(
/// Wraps WinOS [`Version/VerQueryValueW(...)`](https://learn.microsoft.com/en-us/windows/win32/api/winver/nf-winver-verqueryvaluew).
#[allow(non_snake_case)]
pub fn WinAPI_VerQueryValueW<'a, S: AsRef<str>>(
version_info: &'a Vec<BYTE>, /* from `pBlock: LPCVOID` */
version_info: &'a [BYTE], /* from `pBlock: LPCVOID` */
query: S, /* from `lpSubBlock: LPCWSTR` */
info_view: &'a mut LPVOID, /* from `lplpBuffer: &mut LPVOID` */
info_view_length: &'a mut UINT, /* from `puLen: PUINT` */