Fibonacci sequence for scrum task estimation

AfoHT
Nov 17, 2021, 11:41 AM
LR5WD277EZGE6ON544VLICHXZANGCND32WTJOAFUQWE6LNJZJJFAC

Dependencies

Change contents

  • file addition: src (d--r------)
    [1.0]
  • file addition: main.rs (----------)
    [0.15]
    const ITERS: usize = 10;
    fn print_fib(n: usize) {
    let mut x = (1, 1);
    for _ in 0..n {
    print!("{}, ", x.0);
    x = (x.1, x.0 + x.1)
    }
    }
    fn main() {
    print_fib(ITERS);
    }
  • file addition: Cargo.toml (----------)
    [1.0]
    [package]
    name = "scrumest"
    authors = ["Henrik Tjäder <henrik@grepit.se>"]
    version = "0.1.0"
    edition = "2021"
    # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
    [dependencies]
  • file addition: Cargo.lock (----------)
    [1.0]
    # This file is automatically @generated by Cargo.
    # It is not intended for manual editing.
    version = 3
    [[package]]
    name = "scrumest"
    version = "0.1.0"
  • file addition: .ignore (----------)
    [1.0]
    .git
    .DS_Store
    # Added by cargo
    /target