5 Commits

Author SHA1 Message Date
David Tolnay
efa4c9f9bb
Ignore unused_macro_rules warning in test macros
warning: 1st rule of macro `json_str` is never used
     --> tests/macros/mod.rs:2:5
      |
    2 |     ([]) => {
      |     ^^^^
      |
      = note: `#[warn(unused_macro_rules)]` on by default

    warning: 3rd rule of macro `json_str` is never used
      --> tests/macros/mod.rs:11:5
       |
    11 |     ({}) => {
       |     ^^^^
2022-05-12 21:34:53 -07:00
David Tolnay
c594eb00fc
Allow but ignore trailing comma in test macros 2020-05-27 15:05:59 -07:00
David Tolnay
f38e6b5c16
Be better at computer numbering 2020-05-27 15:04:43 -07:00
David Tolnay
4d5234c8d9
Copyright/license headers
The following changes are included:

- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
  pseudo-copyright line), leaving only the text of the MIT license.

Nothing about the license of Serde code has changed, only our
understanding of how to correctly communicate the license has changed.

This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2019-01-12 15:14:56 -08:00
David Tolnay
26c226750c
Exclude macros file from being tested by itself 2017-05-27 11:34:47 -07:00