mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Examples Wording Issue - relative <=> relevant
Just a simple drive-by fix for the wording in the freeze example
This commit is contained in:
1 file changed
+1
-1
@@ -7,7 +7,7 @@ fn main() -> vm::PyResult<()> {
|
||||
fn run(vm: &vm::VirtualMachine) -> vm::PyResult<()> {
|
||||
let scope = vm.new_scope_with_builtins();
|
||||
|
||||
// the file parameter is relevant to the directory where the crate's Cargo.toml is located, see $CARGO_MANIFEST_DIR:
|
||||
// the file parameter is relative to the directory where the crate's Cargo.toml is located, see $CARGO_MANIFEST_DIR:
|
||||
// https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates
|
||||
let module = vm::py_compile!(file = "examples/freeze/freeze.py");
|
||||
|
||||
|
||||
Reference in new issue
Block a user