• Diverging functions

    • Diverging functions are functions in rust that do not return. It has the return type i which is read “diverges”.
  fn diverges() -> ! {
	  panic!("This function never returns!");
  }