8484/// unsafe_fn!( return_same_mut_ref => &mut marray )[0] = true;
8585/// }
8686/// ```
87- #[ doc( hidden) ]
8887#[ macro_export]
8988macro_rules! unsafe_fn {
9089 ( $fn: expr => $( $arg: expr ) ,+ ) => {
@@ -309,7 +308,6 @@ macro_rules! unsafe_fn_internal_access_tuple_tree_field {
309308//#[doc = include_str!("../violations_coverage/unsafe_method/fn_unused_unsafe/some_args.rs")]
310309// ```
311310#[ macro_export]
312- #[ doc( hidden) ]
313311macro_rules! unsafe_method {
314312 (
315313 $self: expr =>@ $method: ident
@@ -525,7 +523,6 @@ macro_rules! unsafe_method_internal_build_accessors_check_args_call {
525523/// }
526524/// ```
527525#[ macro_export]
528- #[ doc( hidden) ]
529526macro_rules! unsafe_static_set {
530527 ( $static: path, $val: expr) => { {
531528 if false {
@@ -558,7 +555,6 @@ macro_rules! unsafe_static_set {
558555/// reference based on the given pointer), and the given pointer is cast to `* const $type`. `$type`
559556/// may start with `dyn`. `$type` may be a slice `[...]`.
560557#[ macro_export]
561- #[ doc( hidden) ]
562558macro_rules! unsafe_ref {
563559 ( $ptr: expr) => { {
564560 let ptr: * const _ = $ptr;
@@ -586,7 +582,6 @@ macro_rules! unsafe_ref {
586582/// type (NOT the given pointer, NOT the target reference type) and the given pointer is cast to `*
587583/// const $type`. `$type` may start with `dyn`. `$type` may be a slice `[...]`.
588584#[ macro_export]
589- #[ doc( hidden) ]
590585macro_rules! unsafe_mut {
591586 ( $ptr: expr) => { {
592587 let ptr: * mut _ = $ptr;
@@ -610,7 +605,6 @@ macro_rules! unsafe_mut {
610605
611606/// Get a (copy of) value from where the pointer points. For [core::marker::Copy] types only.
612607#[ macro_export]
613- #[ doc( hidden) ]
614608macro_rules! unsafe_val {
615609 ( $ptr: expr) => { {
616610 let ptr: * const _ = $ptr;
@@ -654,7 +648,6 @@ macro_rules! unsafe_use {
654648///
655649/// `unsafe_set!( pt ) = false;`
656650#[ macro_export]
657- #[ doc( hidden) ]
658651macro_rules! unsafe_set {
659652 ( $ptr: expr, $value: expr) => { {
660653 if false {
0 commit comments