stevenarella/blocks
ice_iix b4514a8500 Fix clippy warnings: passed by reference, but would be more efficient if passed by value
https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#trivially_copy_pass_by_ref

i = 0
ll = map(lambda x: int(x.strip()), file("/tmp/lines").readlines())
ll2 = map(lambda x: int(x.strip()), file("/tmp/lines2").readlines())
for line in file("/Users/admin/games/rust/steven/blocks/src/lib.rs").readlines():
    i += 1
    line = line[:-1]

    if i in ll:
        line = line.replace("&self", "self")

    if i in ll2:
        line = line.replace("*self", "self")

    print line
2018-11-04 14:31:46 -08:00
..
src Fix clippy warnings: passed by reference, but would be more efficient if passed by value 2018-11-04 14:31:46 -08:00
Cargo.lock Use a old mirror for collision-rs (Fixes #66) 2017-03-16 10:43:42 +01:00
Cargo.toml Update Cargo.tomls to Rust edition 2018, fix crate imports. Closes #13 2018-11-04 12:15:34 -08:00