Fix import in pkey docs

This commit is contained in:
Ansley Peduru 2018-01-07 14:17:03 -05:00
parent 33ec3a5784
commit b9eace6569
1 changed files with 2 additions and 2 deletions

View File

@ -31,11 +31,11 @@
//! extern crate openssl;
//!
//! use openssl::rsa::Rsa;
//! use openssl::pkey::Pkey;
//! use openssl::pkey::PKey;
//!
//! fn main() {
//! let rsa = Rsa::generate(2048).unwrap();
//! let pkey = Pkey::from_rsa(rsa).unwrap();
//! let pkey = PKey::from_rsa(rsa).unwrap();
//! }
//! ```