Function Move Errors

However, if we try to use alfa again by adding this line it'll break with the same type of error as before.

println!("alfa has {alfa}");

SOURCE CODE

fn main() {
  let alfa = String::from("apple");
  widget(alfa);

  println!("alfa has {alfa}");
}

fn widget(value: String) {
  println!("widget got {value}");
}

CODE RUNNER