docs: disable doctesting for docs which arent rust code (or for which the code cant be invoked publicly)

This commit is contained in:
2025-01-13 23:20:43 +00:00
parent dab5e42d1a
commit 293ba76b1f
2 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ use coremem_cross::vec::Vec3;
/// it's a torus, but elongated around its axis to resemble a pill shape. /// it's a torus, but elongated around its axis to resemble a pill shape.
/// ///
/// ``` /// ```notrust
/// _______ /// _______
/// / \ /// / \
/// | | /// | |

View File

@@ -49,7 +49,7 @@ impl IntoList for () {
} }
/// expands to the type name for a list with the provided types /// expands to the type name for a list with the provided types
/// ``` /// ```ignore
/// list_for!(E0, E1, E2, T) => Node<E0, Node<E1, Node<E2, T>>>> /// list_for!(E0, E1, E2, T) => Node<E0, Node<E1, Node<E2, T>>>>
/// ``` /// ```
macro_rules! list_for { macro_rules! list_for {
@@ -58,7 +58,7 @@ macro_rules! list_for {
} }
/// given N idents, return P`N`. /// given N idents, return P`N`.
/// ``` /// ```ignore
/// peano_for!(P0 a, b, c) => P3 /// peano_for!(P0 a, b, c) => P3
/// ``` /// ```
macro_rules! peano_for { macro_rules! peano_for {
@@ -67,7 +67,7 @@ macro_rules! peano_for {
} }
/// expands to the last item in the sequence /// expands to the last item in the sequence
/// ``` /// ```ignore
/// last!(a, bc, d) => d /// last!(a, bc, d) => d
/// ``` /// ```
macro_rules! last { macro_rules! last {
@@ -77,7 +77,7 @@ macro_rules! last {
/// transforms a list of idents into a `self.tail.[...].tail.head` pattern /// transforms a list of idents into a `self.tail.[...].tail.head` pattern
/// of the same length. /// of the same length.
/// ``` /// ```ignore
/// member_index!(self tail head a, b, c, d, e) => self.tail.tail.tail.head /// member_index!(self tail head a, b, c, d, e) => self.tail.tail.tail.head
/// ``` /// ```
macro_rules! member_index { macro_rules! member_index {
@@ -98,7 +98,7 @@ macro_rules! member_index {
} }
/// implements the Indexable trait for the last element provided of any prefix list. /// implements the Indexable trait for the last element provided of any prefix list.
/// ``` /// ```ignore
/// impl_indexable!(E0, E1, E2) /// impl_indexable!(E0, E1, E2)
/// => impl<E0, E1, E2, T> Indexable<P2> for Node<E0, Node<E1, Node<E1, T>>> { ... } /// => impl<E0, E1, E2, T> Indexable<P2> for Node<E0, Node<E1, Node<E1, T>>> { ... }
/// ``` /// ```
@@ -123,7 +123,7 @@ macro_rules! impl_indexable {
} }
/// implements the IntoList trait for the tuple of the provided elements. /// implements the IntoList trait for the tuple of the provided elements.
/// ``` /// ```ignore
/// impl_into_list!(E0, E1, E2) /// impl_into_list!(E0, E1, E2)
/// => impl<E0, E1, E2> IntoList for (E0, E1, E2) { ... } /// => impl<E0, E1, E2> IntoList for (E0, E1, E2) { ... }
/// ``` /// ```