fix
This commit is contained in:
parent
b01af5ff18
commit
029af582d6
@ -49,13 +49,6 @@ pub struct Paged<T> {
|
||||
pub next: NextPage,
|
||||
}
|
||||
|
||||
// pub fn map<U, F: FnOnce(T) -> U>(self, op: F) -> Result<U, E> {
|
||||
// match self {
|
||||
// Ok(t) => Ok(op(t)),
|
||||
// Err(e) => Err(e),
|
||||
// }
|
||||
// }
|
||||
|
||||
impl<T> Paged<T> {
|
||||
pub fn map_paged_result<E, U, F: FnOnce(T) -> U>(
|
||||
result: Result<Paged<T>, E>,
|
||||
|
Loading…
Reference in New Issue
Block a user