diff options
| author | Steven Fackler <[email protected]> | 2015-01-09 10:10:03 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-01-09 10:10:03 -0800 |
| commit | 5a153e9ead003bc21e412de97f27de6ab1e67b62 (patch) | |
| tree | b688e5b78e70b65fc1b5c4878236874638bf770f | |
| parent | Merge pull request #140 from alexcrichton/update (diff) | |
| download | rust-openssl-0.2.15.tar.xz rust-openssl-0.2.15.zip | |
Fix doctestv0.2.15
| -rw-r--r-- | src/x509/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/x509/mod.rs b/src/x509/mod.rs index 54b77ffb..70cbe453 100644 --- a/src/x509/mod.rs +++ b/src/x509/mod.rs @@ -147,6 +147,8 @@ impl<'a, T: AsStr<'a>> ToStr for Vec<T> { /// # Example /// /// ``` +/// # #[allow(unstable)] +/// # fn main() { /// use std::io::{File, Open, Write}; /// # use std::io::fs; /// @@ -171,6 +173,7 @@ impl<'a, T: AsStr<'a>> ToStr for Vec<T> { /// let mut file = File::open_mode(&pkey_path, Open, Write).unwrap(); /// assert!(pkey.write_pem(&mut file).is_ok()); /// # let _ = fs::unlink(&pkey_path); +/// # } /// ``` pub struct X509Generator { bits: u32, |