fix(connection): change attribute from expect to allow for single use lifetimes
- Updated the `create_gcc_blocks` function to change the attribute from `#[expect(single_use_lifetimes)]` to `#[allow(single_use_lifetimes)]`, addressing stability concerns with anonymous lifetimes in `impl Trait`.
This commit is contained in:
1 parent
8f11458c8e
commit
2ce1972ea3
1 file changed
+1
-1
@@ -1643,7 +1643,7 @@ pub fn encode_send_data_request<T: Encode>(
|
||||
Ok(written)
|
||||
}
|
||||
|
||||
#[expect(single_use_lifetimes)] // anonymous lifetimes in `impl Trait` are unstable
|
||||
#[allow(single_use_lifetimes)] // anonymous lifetimes in `impl Trait` are unstable
|
||||
fn create_gcc_blocks<'a>(
|
||||
config: &Config,
|
||||
cluster_data: Option<&gcc::ClientClusterData>,
|
||||
|
||||
Reference in new issue
Block a user