accepts-codegen 0.0.1

Rust toolkit for composing synchronous and asynchronous acceptor pipelines
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::hash::BuildHasher;
use syn::{Lifetime, punctuated::Punctuated};

pub fn merge_lifetimes<P, S>(
    captured_params: Punctuated<Lifetime, P>,
    other_captured_params: impl IntoIterator<Item = Punctuated<Lifetime, P>>,
) -> Punctuated<Lifetime, P>
where
    P: Default,
    S: BuildHasher + Default,
{
    super::internal::merge_unique_punctuated::<_, _, S>(captured_params, other_captured_params)
}