File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,9 @@ cargo public-api diff ref1..ref2
6767
6868With a regular ` cargo test ` that you run in CI you will be able to
6969* prevent accidental changes to your public API
70- * review the public API diff of deliberate changes
70+ * review the public API diff of deliberate changes [ ^ 1 ]
71+
72+ [ ^ 1 ] : As a workaround for https://github.com/mitsuhiko/insta/issues/780 you might want to put ` *.snap linguist-language=txt ` in your ` .gitattributes ` .
7173
7274First add the latest versions of the recommended libraries to your ` [dev-dependencies] ` :
7375
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ Use [`cargo public-api`](https://github.com/cargo-public-api/cargo-public-api) f
1818
1919With a regular ` cargo test ` that you run in CI you will be able to
2020* prevent accidental changes to your public API
21- * review the public API diff of deliberate changes
21+ * review the public API diff of deliberate changes [ ^ 1 ]
22+
23+ [ ^ 1 ] : As a workaround for https://github.com/mitsuhiko/insta/issues/780 you might want to put ` *.snap linguist-language=txt ` in your ` .gitattributes ` .
2224
2325First add the latest versions of the recommended libraries to your ` [dev-dependencies] ` :
2426
You can’t perform that action at this time.
0 commit comments