rrokkam
f21ed2ae13
Make main.rs clippy-clean
2020-07-19 13:51:23 -07:00
rrokkam
b9372efe6f
Use 2018-edition field init shorthand
2020-07-19 13:50:50 -07:00
rrokkam
972e00541a
Move gildedrose/mod.rs -> gildedrose.rs
...
Avoiding putting simple one-file modules in their own folder.
2020-07-19 13:49:13 -07:00
rrokkam
87f3e536a4
Risky: Move tests into mod.rs
...
Usual Rust practice is to put tests in the same file they are testing.
I don't see any magic in the texttests that would require tests and code
to be in separate files, but I am not entirely sure, so I added the
risky tag.
2020-07-19 13:47:02 -07:00
rrokkam
2a53bf5db5
Delete imports that are already in the prelude
...
`Vec` and `String` are in the prelude, so qualifying them with
`vec::Vec` and `string::String` is unnecessary.
2020-07-19 13:45:35 -07:00
rrokkam
a699803ce7
cargo fmt
...
Standard Rust formatting practice
2020-07-19 13:45:01 -07:00
Michael Gerhaeuser
52d3d5607a
Add rust version
2015-10-03 21:14:18 +02:00