File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,9 @@ impl CipherCtxRef {
581581 /// output size check removed. It can be used when the exact
582582 /// buffer size control is maintained by the caller.
583583 ///
584- /// SAFETY: The caller is expected to provide `output` buffer
584+ /// # Safety
585+ ///
586+ /// The caller is expected to provide `output` buffer
585587 /// large enough to contain correct number of bytes. For streaming
586588 /// ciphers the output buffer size should be at least as big as
587589 /// the input buffer. For block ciphers the size of the output
@@ -693,7 +695,9 @@ impl CipherCtxRef {
693695 /// This function is the same as [`Self::cipher_final`] but with
694696 /// the output buffer size check removed.
695697 ///
696- /// SAFETY: The caller is expected to provide `output` buffer
698+ /// # Safety
699+ ///
700+ /// The caller is expected to provide `output` buffer
697701 /// large enough to contain correct number of bytes. For streaming
698702 /// ciphers the output buffer can be empty, for block ciphers the
699703 /// output buffer should be at least as big as the block.
Original file line number Diff line number Diff line change 119119//! ```
120120#![ doc( html_root_url = "https://docs.rs/openssl/0.10" ) ]
121121#![ warn( rust_2018_idioms) ]
122- #![ allow( clippy:: uninlined_format_args) ]
122+ #![ allow( clippy:: uninlined_format_args, clippy :: needless_doctest_main ) ]
123123
124124#[ doc( inline) ]
125125pub use ffi:: init;
You can’t perform that action at this time.
0 commit comments