Commit 829c8055 authored by AndyGauge's avatar AndyGauge
Browse files

fixed broken example and syntax error in module level documentation

parent 556f3716
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
//! Errors returned by OpenSSL library.
//!
//! OpenSSL errors are stored in an `ErrorStack`.  Most methods in the crate
/// returns a `Result<T, ErrorStack>` type.
//! returns a `Result<T, ErrorStack>` type.
//!
//! # Examples
//!
@@ -11,7 +11,7 @@
//!
//! let an_error = BigNum::from_dec_str("Cannot parse letters");
//! match an_error {
//!     Ok(_)  => _,
//!     Ok(_)  => (),
//!     Err(e) => println!("Parsing Error: {:?}", e),
//! }
//! ```