Skip to content

Commit

Permalink
Ignoring doctests in nn-derives
Browse files Browse the repository at this point in the history
  • Loading branch information
coreylowman committed Sep 14, 2023
1 parent 8b54609 commit 16fec9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dfdx-nn-derives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ macro_rules! has_attr {
///
/// Here we have a unit struct that just calls a method on Tensor in the forward:
///
/// ```rust
/// ```ignore
/// # use dfdx_nn::*;
/// # use dfdx::prelude::*;
/// #[derive(Default, Debug, Clone, Copy, CustomModule)]
Expand All @@ -40,7 +40,7 @@ macro_rules! has_attr {
///
/// # Using CustomModule on structs with non-parameter fields
///
/// ```rust
/// ```ignore
/// # use dfdx_nn::*;
/// # use dfdx::prelude::*;
/// #[derive(Default, Debug, Clone, Copy, CustomModule)]
Expand All @@ -64,7 +64,7 @@ macro_rules! has_attr {
/// 2. We must use that type name when implementing `Module`
/// 3. We must annotate the sub module with `#[module]`
///
/// ```rust
/// ```ignore
/// # use dfdx_nn::*;
/// # use dfdx::prelude::*;
/// #[derive(Debug, Clone, CustomModule)]
Expand Down Expand Up @@ -320,7 +320,7 @@ pub fn custom_module(input: proc_macro::TokenStream) -> proc_macro::TokenStream
/// 3. linear2
/// 4. act2
/// 5. linear3
/// ```rust
/// ```ignore
/// # use dfdx::prelude::*;
/// # use dfdx_nn::*;
/// #[derive(Debug, Clone, Sequential)]
Expand Down

0 comments on commit 16fec9b

Please sign in to comment.