|
|
|
|
|
by gitgud
2122 days ago
|
|
Interesting, it seems that it allows the exact syntax of shell commands, without using strings. // valid rust code and shell code, no strings
run_cmd!(du -ah . | sort -hr | head -n 10)?;
How does rust parse the statement within run_cmd()? Can rust parse other languages like this? run_html!(<div>COOL</div>)
|
|