fixed broken example and syntax error in module level documentation
This commit is contained in:
parent
556f371689
commit
829c805543
|
|
@ -1,7 +1,7 @@
|
||||||
//! Errors returned by OpenSSL library.
|
//! Errors returned by OpenSSL library.
|
||||||
//!
|
//!
|
||||||
//! OpenSSL errors are stored in an `ErrorStack`. Most methods in the crate
|
//! 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
|
//! # Examples
|
||||||
//!
|
//!
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
//!
|
//!
|
||||||
//! let an_error = BigNum::from_dec_str("Cannot parse letters");
|
//! let an_error = BigNum::from_dec_str("Cannot parse letters");
|
||||||
//! match an_error {
|
//! match an_error {
|
||||||
//! Ok(_) => _,
|
//! Ok(_) => (),
|
||||||
//! Err(e) => println!("Parsing Error: {:?}", e),
|
//! Err(e) => println!("Parsing Error: {:?}", e),
|
||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue