File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -535,12 +535,14 @@ extern "C" {
535535
536536/// A reimplementation of the C function `secp256k1_context_create` in rust.
537537///
538- /// This function allocates memory, the pointer should be deallocated using `secp256k1_context_destroy`
539- /// A failure to do so will result in a memory leak.
538+ /// This function allocates memory, the pointer should be deallocated using
539+ /// `secp256k1_context_destroy`. Failure to do so will result in a memory leak.
540540///
541- /// This will create a secp256k1 raw context.
542- // Returns: a newly created context object.
543- // In: flags: which parts of the context to initialize.
541+ /// Input `flags` control which parts of the context to initialize.
542+ ///
543+ /// # Returns
544+ ///
545+ /// The newly created secp256k1 raw context.
544546#[ no_mangle]
545547#[ cfg( all( feature = "std" , not( rust_secp_no_symbol_renaming) ) ) ]
546548#[ cfg_attr( docsrs, doc( cfg( all( feature = "std" , not( rust_secp_no_symbol_renaming) ) ) ) ) ]
You can’t perform that action at this time.
0 commit comments