chore: fix typos

This commit is contained in:
bunnie 2024-01-15 02:00:31 +08:00
parent d7f8ebbc7a
commit 83d8f12cec
2 changed files with 2 additions and 2 deletions

View file

@ -424,7 +424,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// ---- other single-purpose commands ----
Some("generate-locales") => generate_locales()?,
Some("wycheproof-import") => whycheproof_import()?,
Some("wycheproof-import") => wycheproof_import()?,
Some("dummy-template") => generate_app_menus(&Vec::new()),
_ => print_help(),
}

View file

@ -329,7 +329,7 @@ pub(crate) fn generate_locales() -> Result<(), std::io::Error> {
}
/// Import the Wycheproof test vectors
pub(crate) fn whycheproof_import() -> Result<(), crate::DynError> {
pub(crate) fn wycheproof_import() -> Result<(), crate::DynError> {
let input_file = "tools/wycheproof-import/x25519_test.json";
let output_file = "services/shellchat/src/cmds/x25519_test.bin";
let status = Command::new(cargo())