@@ -1529,16 +1529,6 @@ pub(crate) mod builtin {
15291529 /// - `INPUT_ACTIVITIES`: Specifies one valid activity for each input parameter.
15301530 /// - `OUTPUT_ACTIVITY`: Must not be set if the function implicitly returns nothing
15311531 /// (or explicitly returns `-> ()`). Otherwise, it must be set to one of the allowed activities.
1532- ///
1533- /// # Example
1534- ///
1535- /// ```rust
1536- /// use std::autodiff::autodiff_forward;
1537- ///
1538- /// #[autodiff_forward(df, Dual, Dual, Dual)]
1539- /// fn f(x: f64, y: f64) -> f64 {
1540- /// x * y
1541- /// }
15421532 /// ```
15431533 #[ unstable( feature = "autodiff" , issue = "124509" ) ]
15441534 #[ allow_internal_unstable( rustc_attrs) ]
@@ -1559,16 +1549,6 @@ pub(crate) mod builtin {
15591549 /// - `INPUT_ACTIVITIES`: Specifies one valid activity for each input parameter.
15601550 /// - `OUTPUT_ACTIVITY`: Must not be set if the function implicitly returns nothing
15611551 /// (or explicitly returns `-> ()`). Otherwise, it must be set to one of the allowed activities.
1562- ///
1563- /// # Example
1564- ///
1565- /// ```rust
1566- /// use std::autodiff::autodiff_reverse;
1567- ///
1568- /// #[autodiff_reverse(df, Active, Active, Active)]
1569- /// fn f(x: f64, y: f64) -> f64 {
1570- /// x * y
1571- /// }
15721552 /// ```
15731553 #[ unstable( feature = "autodiff" , issue = "124509" ) ]
15741554 #[ allow_internal_unstable( rustc_attrs) ]
0 commit comments