Skip to content

Commit

Permalink
fix(postcompile): readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkloock committed Jan 15, 2025
1 parent 12850ee commit af7c861
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/postcompile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ This is particularly useful when making snapshot tests of proc-macros, look belo
#[test]
fn some_cool_test() {
insta::assert_snapshot!(postcompile::compile! {
#![allow(unused)]

#[derive(Debug, Clone)]
struct Test {
a: u32,
Expand Down

0 comments on commit af7c861

Please sign in to comment.