Fix get_plank()

[?]
Nov 19, 2020, 8:21 PM
DBIA6R5X4LFELIDAIYAB4HRVZNVQQRH4HVFNCAMTP3TH26YVOUJAC

Dependencies

  • [2] ZJPL7VNQ Separate planks from main
  • [3] VSG6UWDY Can now build floors
  • [4] C5VVJ5SO Print how many rows
  • [5] USO5PZWO Start with the print function, separate mutable and immutable functions

Change contents

  • replacement in src/floor.rs at line 113
    [2.2205][2.2205:2323]()
    /// Get the number of plank rows for this floor
    pub fn rows_count(&self) -> usize {
    self.planks.len()
    [2.2205]
    [2.2323]
    /// Get the number of planks for this floor
    pub fn planks_count(&self) -> u32 {
    self.planks.len() as u32