Skip to content

Commit

Permalink
fix: comment in soa_attr test
Browse files Browse the repository at this point in the history
  • Loading branch information
CurryPseudo committed Dec 12, 2021
1 parent 63f2157 commit 79178ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": false
}
2 changes: 2 additions & 0 deletions expand
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#! /bin/bash
cargo expand --test $1 > tests/$1_expanded.rs
6 changes: 3 additions & 3 deletions tests/soa_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ fn serde_skip_test() -> Result<(), serde_json::Error> {
let _ = ref_mut.meta;

let ptr_mut = ref_mut.as_ptr();
let _ = ptr_mut.x; // Should not have a deprecate warning
let _ = ptr_mut.y; // Should not have a deprecate warning
let _ = ptr_mut.meta; // Should have a deprecate warning
let _ = ptr_mut.x;
let _ = ptr_mut.y; // Should have a deprecate warning
let _ = ptr_mut.meta;
}
Ok(())
}

0 comments on commit 79178ce

Please sign in to comment.