ferrous-systems / rust-training

Learning materials for the Rust Training courses by Ferrous Systems
127 stars 16 forks source link

fix(lifetimes): typo in used variable #133

Closed caugner closed 4 months ago

jonathanpallant commented 4 months ago

The bug is deliberate, and is designed to cause the error message as shown ("function was supposed to return data with lifetime 'b but it is returning data with lifetime 'a")