fn untuple_one<T>(self) -> UntupleOne<Self>
    where
        Self: Filter<Extract = (T,)> + Sized,
        T: Tuple,
    {
        UntupleOne { filter: self }
    }
/// Convenience method to remove one layer of tupling.
///
/// This is useful for when things like `map` don't return a new value,
/// but just `()`, since warp will wrap it up into a `((),)`.
///
/// # Example
///
/// ```
/// use warp::Filter;
///
/// let route = warp::path::param()
///     .map(|num: u64| {
///         println!("just logging: {}", num);
///         // returning "nothing"
///     })
///     .untuple_one()
///     .map(|| {
///         println!("the ((),) was removed");
///         warp::reply()
///     });
/// ```
///
/// ```
/// use warp::Filter;
///
/// let route = warp::any()
///     .map(|| {
///         // wanting to return a tuple
///         (true, 33)
///     })
///     .untuple_one()
///     .map(|is_enabled: bool, count: i32| {
///         println!("untupled: ({}, {})", is_enabled, count);
///     });
/// ```
Convenience method to remove one layer of tupling.
Convenience method to remove one layer of tupling .
fn untuple_one<T>(self) -> UntupleOne<Self>
    where
        Self: Filter<Extract = (T,)> + Sized,
        T: Tuple,
    {
        UntupleOne { filter: self }
    }
fn untuple_one < T > ( self ) -> UntupleOne < Self > where Self : Filter < Extract = ( T , ) > + Sized , T : Tuple , { UntupleOne { filter : self } }
Convenience method to remove one layer of tupling.
Convenience method to remove one layer of tupling .
self
self
example
```
use warp::Filter.



```
use warp::Filter.

let route = warp::any()
.map(|| {
wanting to return a tuple
(true, 33)
})
.untuple_one()
.map(|is_enabled: bool, count: i32| {
println!("untupled: ({}, {})", is_enabled, count);
});
```
` ` ` use warp :: Filter . ` ` ` use warp :: Filter . let route = warp :: any () . map ( || { wanting to return a tuple ( true 33 ) } ) . untuple_one () . map ( |is_enabled : bool count : i32| { println! ( " untupled : ( {} {} ) " is_enabled count ) ; } ) ; ` ` `