docs: disable doctesting for docs which arent rust code (or for which the code cant be invoked publicly)
This commit is contained in:
@@ -14,7 +14,7 @@ use coremem_cross::vec::Vec3;
|
||||
|
||||
/// it's a torus, but elongated around its axis to resemble a pill shape.
|
||||
///
|
||||
/// ```
|
||||
/// ```notrust
|
||||
/// _______
|
||||
/// / \
|
||||
/// | |
|
||||
|
@@ -49,7 +49,7 @@ impl IntoList for () {
|
||||
}
|
||||
|
||||
/// 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>>>>
|
||||
/// ```
|
||||
macro_rules! list_for {
|
||||
@@ -58,7 +58,7 @@ macro_rules! list_for {
|
||||
}
|
||||
|
||||
/// given N idents, return P`N`.
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// peano_for!(P0 a, b, c) => P3
|
||||
/// ```
|
||||
macro_rules! peano_for {
|
||||
@@ -67,7 +67,7 @@ macro_rules! peano_for {
|
||||
}
|
||||
|
||||
/// expands to the last item in the sequence
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// last!(a, bc, d) => d
|
||||
/// ```
|
||||
macro_rules! last {
|
||||
@@ -77,7 +77,7 @@ macro_rules! last {
|
||||
|
||||
/// transforms a list of idents into a `self.tail.[...].tail.head` pattern
|
||||
/// of the same length.
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// member_index!(self tail head a, b, c, d, e) => self.tail.tail.tail.head
|
||||
/// ```
|
||||
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.
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// impl_indexable!(E0, E1, E2)
|
||||
/// => 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.
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// impl_into_list!(E0, E1, E2)
|
||||
/// => impl<E0, E1, E2> IntoList for (E0, E1, E2) { ... }
|
||||
/// ```
|
||||
|
Reference in New Issue
Block a user