Skip to content

Commit

Permalink
add ignore file for research example
Browse files Browse the repository at this point in the history
  • Loading branch information
maksym-arutyunyan committed Sep 1, 2024
1 parent 11bc561 commit 142f598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions research/derive_order/use_macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// keepsorted: ignore file

#[cfg(test)]
mod tests {
use derive_macros::{First, Second};
Expand All @@ -12,7 +14,6 @@ mod tests {

#[test]
fn test_first_second() {
// keepsorted: ignore block
#[derive(First, Second)] // <- This is expected to work.
struct MyStruct;

Expand All @@ -21,7 +22,6 @@ mod tests {

#[test]
fn test_second_first() {
// keepsorted: ignore block
#[derive(Second, First)] // <- Seems the order is not important.
struct MyStruct;

Expand Down

0 comments on commit 142f598

Please sign in to comment.