Function rust_examples::errors::naive_div[][src]

pub fn naive_div(num: i32, d: i32) -> i32
Expand description

This function computes num / d in a naive way that causes the program to panic if d = 0