pub fn first_fib_loop(a: i32) -> i32 {
    let (mut a, mut b) = (a, a);
    loop {
        if b > 10 {
            break;
        }
        let c = a + b;
        a = b;
        b = c;
    };
    b
}
/// using various looping constructs with
/// example algorithm: first number in Fibonacci sequence over 10
///
/// These are all generally terrible ways to write this function,
/// but they serve the purpose of demonstrating the syntax
using various looping constructs with
example algorithm: first number in Fibonacci sequence over 10

These are all generally terrible ways to write this function,
but they serve the purpose of demonstrating the syntax
using various looping constructs with example algorithm : first number in Fibonacci sequence over 10 These are all generally terrible ways to write this function but they serve the purpose of demonstrating the syntax
pub fn first_fib_loop(a: i32) -> i32 {
    let (mut a, mut b) = (a, a);
    loop {
        if b > 10 {
            break;
        }
        let c = a + b;
        a = b;
        b = c;
    };
    b
}
pub fn first_fib_loop ( a : i32 ) -> i32 { let ( mut a , mut b ) = ( a , a ) ; loop { if b > 10 { break ; } let c = a + b ; a = b ; b = c ; } ; b }
using various looping constructs with
example algorithm: first number in Fibonacci sequence over 10
using various looping constructs with example algorithm : first number in Fibonacci sequence over 10
a
i32
a
i32