Update rust/src/flavour.rs

Co-authored-by: Hamothy <58985301+sgoudham@users.noreply.github.com>
This commit is contained in:
Carsten Kragelund Jørgensen 2022-10-27 09:10:53 +02:00 committed by GitHub
parent 920589ac15
commit bdc119419f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,7 +169,7 @@ mod tests {
#[test]
fn verify_colour_methods() {
// We only need to test one flavour, as we just need to make sure the methods exists
// Because if the correct method exists it is guaurenteed to access to correctly named field
// Because if the correct method exists it is guaranteed to access to the correctly named field
let _rosewater = Flavour::Latte.rosewater();
let _flamingo = Flavour::Latte.flamingo();
let _pink = Flavour::Latte.pink();