Skip to content

Commit 21e3e16

Browse files
committed
editoast_derive: ignore doctests generating code with missing crates
1 parent f3d806c commit 21e3e16

File tree

1 file changed

+3
-3
lines changed
  • editoast/editoast_derive/src

1 file changed

+3
-3
lines changed

editoast/editoast_derive/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn infra_model(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
3838
///
3939
/// ### Example
4040
///
41-
/// ```
41+
/// ```ignore
4242
/// #[derive(Debug, EditoastError)]
4343
/// #[editoast_error(base_id = "myview", default_status = 404)]
4444
/// enum MyError {
@@ -101,7 +101,7 @@ pub fn model(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
101101
///
102102
/// ## Usage
103103
///
104-
/// ```
104+
/// ```ignore
105105
/// #[derive(Search)]
106106
/// #[search(
107107
/// table = "osrd_search_track",
@@ -149,7 +149,7 @@ pub fn search(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
149149
/// given a seach object name, returns the `SearchConfig` of the search object
150150
/// matching.
151151
///
152-
/// ```
152+
/// ```ignore
153153
/// #[derive(Search)]
154154
/// struct Foo;
155155
///

0 commit comments

Comments
 (0)