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.");
let mut errors = vec![];
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!");
println!("{value}");
@ -36,7 +36,7 @@ intro = Welcome, { $name }.
let msg = bundle.get_message("intro").expect("Message doesn't exist.");
let mut errors = vec![];
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 text from the variable is not affected by the translation.

View File

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