automatic cargo CI changes

This commit is contained in:
cscherrNT 2024-06-25 10:03:55 +00:00 committed by github-actions[bot]
parent 8bbfeced62
commit a25fd10e5f
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ intro = Welcome, { $name }.
.expect("Message doesn't exist."); .expect("Message doesn't exist.");
let mut errors = vec![]; let mut errors = vec![];
let pattern = msg.value().expect("Message has no value."); let pattern = msg.value().expect("Message has no value.");
let value = bundle.format_pattern(&pattern, None, &mut errors); let value = bundle.format_pattern(pattern, None, &mut errors);
assert_eq!(&value, "Hello, world!"); assert_eq!(&value, "Hello, world!");
println!("{value}"); println!("{value}");
@ -36,7 +36,7 @@ intro = Welcome, { $name }.
let msg = bundle.get_message("intro").expect("Message doesn't exist."); let msg = bundle.get_message("intro").expect("Message doesn't exist.");
let mut errors = vec![]; let mut errors = vec![];
let pattern = msg.value().expect("Message has no value."); let pattern = msg.value().expect("Message has no value.");
let value = bundle.format_pattern(&pattern, Some(&args), &mut errors); let value = bundle.format_pattern(pattern, Some(&args), &mut errors);
// The FSI/PDI isolation marks ensure that the direction of // The FSI/PDI isolation marks ensure that the direction of
// the text from the variable is not affected by the translation. // the text from the variable is not affected by the translation.

View File

@ -24,7 +24,7 @@ enum Color {
Green, Green,
Yellow, Yellow,
Red, Red,
Custom(String) Custom(String),
} }
use serde_repr::{Deserialize_repr, Serialize_repr}; use serde_repr::{Deserialize_repr, Serialize_repr};