pub fn finish(self) -> Result<Defs> {
        if self.failed {
            Err(())
        } else {
            Ok(self.defs)
        }
    }
/// Consume the context and return the definitions that were made.
///
/// Returns an error if an error occurred during the earlier gathering of
/// definitions.
Consume the context and return the definitions that were made.
Returns an error if an error occurred during the earlier gathering of
definitions.
Consume the context and return the definitions that were made . Returns an error if an error occurred during the earlier gathering of definitions .
pub fn finish(self) -> Result<Defs> {
        if self.failed {
            Err(())
        } else {
            Ok(self.defs)
        }
    }
pub fn finish ( self ) -> Result < Defs > { if self . failed { Err ( ( ) ) } else { Ok ( self . defs ) } }
Consume the context and return the definitions that were made.
Consume the context and return the definitions that were made .
self
self