From 6ec6d409d63070d1ec56e525d161912908b0bceb Mon Sep 17 00:00:00 2001 From: Ayodeji Ige Date: Wed, 27 Nov 2024 11:27:04 -0800 Subject: [PATCH] fix: downgrade regex version to 1.10.5 and update lifetime annotation in SerializerSeq implementation --- Cargo.toml | 2 +- crates/wdk-build/src/metadata/ser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e700477d..87d55b47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,7 @@ thiserror = "1.0.62" tracing = "0.1.40" tracing-subscriber = "0.3.18" windows = "0.58.0" -regex = "1.11.1" +regex = "1.10.5" # The following workspace.metadata.wdk sections can be uncommented to configure the workspace for a specific WDK configuration (ex. for rust-analyzer to resolve things for a specific configuration) diff --git a/crates/wdk-build/src/metadata/ser.rs b/crates/wdk-build/src/metadata/ser.rs index 1194da77..a517ef8c 100644 --- a/crates/wdk-build/src/metadata/ser.rs +++ b/crates/wdk-build/src/metadata/ser.rs @@ -285,7 +285,7 @@ pub struct SerializerSeq<'a> { delimited_string: String, } -impl<'a> ser::SerializeSeq for SerializerSeq<'a> { +impl ser::SerializeSeq for SerializerSeq<'_> { type Error = Error; type Ok = Option;