Do cargo fmt

This commit is contained in:
Shunsuke Shibayama 2022-08-13 07:02:07 +09:00
parent e320bd6cdd
commit 6726d93f65
48 changed files with 7294 additions and 3469 deletions

View file

@ -31,7 +31,10 @@ pub fn detect_magic_number() -> u32 {
.output()
.expect("cannot get the magic number from python")
} else {
let python_command = format!("{} -c 'import importlib.util as util;print(util.MAGIC_NUMBER.hex())'", which_python());
let python_command = format!(
"{} -c 'import importlib.util as util;print(util.MAGIC_NUMBER.hex())'",
which_python()
);
Command::new("sh")
.arg("-c")
.arg(python_command)