fix: lifetime notation (#798)

This commit is contained in:
Valerio Ageno
2025-07-19 17:49:49 +02:00
committed by GitHub
parent 5990cf3d27
commit a1f5811eda
12 changed files with 49 additions and 54 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ mod tests {
}
}"#;
fn prepare_payload(uri: Option<&str>, mode: Mode) -> Payload {
fn prepare_payload(uri: Option<&str>, mode: Mode) -> Payload<'_> {
let manifest_mock = serde_json::from_str::<ViteManifest>(MANIFEST_EXAMPLE)
.expect("Failed to parse the manifest example");
MANIFEST.get_or_init(|| manifest_mock.into());