Clippy: Needless reference

AfoHT
Jan 21, 2024, 5:17 PM
352OAU473EUBWD75K5D637LYPSTQZCGANHHZVPGTTHWTVPWKR4HAC

Dependencies

  • [2] JPTYS433 Cleanup, clippy
  • [3] USO5PZWO Start with the print function, separate mutable and immutable functions
  • [4] ES2PMPT4 Using structures instead
  • [5] VSG6UWDY Can now build floors
  • [6] MLUGR2LL Add default impl and some basic plank logic
  • [7] 6ODVKCN4 Fix printouts of relative lengths
  • [8] SMYRM2CF Use the MaterialStorage
  • [9] OK5CKW6E Rework everything, use references
  • [10] Y4AQJ5RD Other defaults
  • [*] 5TH3AA46 10 mm extra space

Change contents

  • replacement in src/bin/main.rs at line 86
    [3.1479][2.320:386]()
    fn floor_build(floor: &mut Floor, mut ms: &mut MaterialStorage) {
    [3.1479]
    [3.629]
    fn floor_build(floor: &mut Floor, ms: &mut MaterialStorage) {
  • replacement in src/bin/main.rs at line 88
    [3.674][3.1347:1382]()
    match build_row(&mut ms) {
    [3.674]
    [3.1382]
    match build_row(ms) {