8 Commits

Author SHA1 Message Date
Andrew Gallant
e2860fe037 edition: manual fixups to code
This commit does a number of manual fixups to the code after the
previous two commits were done via 'cargo fix' automatically.

Actually, this contains more 'cargo fix' annotations, since I had
forgotten to add 'edition = "2018"' to all sub-crates.
2021-04-30 20:02:56 -04:00
Andrew Gallant
94ce242913 edition: more 2018 migration (idioms) 2021-04-30 20:02:56 -04:00
Alex Touchet
83c2fcdfc8
examples: update benchmark game URL
The benchmark game no longer has the "regex-dna" benchmark,
but we update the URL anyway.

PR #724
2020-11-24 07:58:51 -05:00
Andrew Gallant
0e96af4166
style: start using rustfmt 2019-08-03 14:20:22 -04:00
Lukas Lueg
264ef3f421 Revert some unwarranted clippy-changes 2017-06-01 19:38:23 +02:00
Lukas Lueg
94f8213def Fix clippy warnings 2017-05-31 22:24:22 +02:00
Andrew Gallant
52165d6b31 Use Cow for replacements.
If `replace` doesn't find any matches, then it can return the original
string unchanged.
2016-12-30 01:05:50 -05:00
Andrew Gallant
c9e6781a68 A single threaded version of shootout benchmark. 2015-06-20 13:02:06 -04:00