Verifier results are always void.

No need for a type parameter.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-21 12:03:05 -07:00
parent bac47f2fb8
commit 6e95b08df1
2 changed files with 24 additions and 24 deletions

View File

@@ -52,7 +52,7 @@ impl Context {
///
/// The `TargetIsa` argument is currently unused, but the verifier will soon be able to also
/// check ISA-dependent constraints.
pub fn verify<'a, ISA: Into<Option<&'a TargetIsa>>>(&self, _isa: ISA) -> verifier::Result<()> {
pub fn verify<'a, ISA: Into<Option<&'a TargetIsa>>>(&self, _isa: ISA) -> verifier::Result {
verifier::verify_context(self)
}