automatic cargo CI changes
This commit is contained in:
parent
8bbfeced62
commit
a25fd10e5f
|
@ -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.
|
||||
|
|
|
@ -24,7 +24,7 @@ enum Color {
|
|||
Green,
|
||||
Yellow,
|
||||
Red,
|
||||
Custom(String)
|
||||
Custom(String),
|
||||
}
|
||||
|
||||
use serde_repr::{Deserialize_repr, Serialize_repr};
|
||||
|
|
Loading…
Reference in New Issue