Compare commits
No commits in common. "d152e2196df1a4e171c7dd6c2106e3471c640cbd" and "bd361833b557d951d0683e5dd99242c75976eb01" have entirely different histories.
d152e2196d
...
bd361833b5
@ -123,15 +123,6 @@ impl LocalFunctor for OptionClass {
|
||||
}
|
||||
}
|
||||
|
||||
impl MonadFail<()> for OptionClass {
|
||||
fn fail<'a, A: 'a>(_e: ()) -> Self::F<'a, A>
|
||||
where
|
||||
Self: 'a,
|
||||
(): 'a {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod option_tests {
|
||||
use super::{test_suite, tests, Functor};
|
||||
|
@ -115,13 +115,3 @@ impl LocalFunctor for SoloClass {
|
||||
fa
|
||||
}
|
||||
}
|
||||
|
||||
impl MonadFail<std::convert::Infallible> for SoloClass {
|
||||
fn fail<'a, A: 'a>(e: std::convert::Infallible) -> Self::F<'a, A>
|
||||
where
|
||||
Self: 'a,
|
||||
std::convert::Infallible: 'a,
|
||||
{
|
||||
match e {}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user