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
67
67
68
68
With a regular ` cargo test ` that you run in CI you will be able to
69
69
* 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 ` .
71
73
72
74
First add the latest versions of the recommended libraries to your ` [dev-dependencies] ` :
73
75
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
18
18
19
19
With a regular ` cargo test ` that you run in CI you will be able to
20
20
* 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 ` .
22
24
23
25
First add the latest versions of the recommended libraries to your ` [dev-dependencies] ` :
24
26
You can’t perform that action at this time.
0 commit comments