mirror of
https://github.com/gnu4cn/rust-lang-zh_CN.git
synced 2025-04-01 23:21:15 +08:00
Updated 'src/packages_crate_and_modules/paths.md'.
This commit is contained in:
parent
9d790a19d2
commit
370a82c6af
@ -1,7 +1,8 @@
|
|||||||
# 用于引用目录树中某个项目的路径
|
# 用于引用模组树中项目的路径
|
||||||
|
|
||||||
**Paths for Referring to an Item in the Module Tree**
|
**Paths for Referring to an Item in the Module Tree**
|
||||||
|
|
||||||
|
|
||||||
这里以与在对文件系统进行导航时,所用到路径的同样方式,使用路径来给 Rust 指出,在何处找到模组树中的某个项目。要调用某个函数,那么就需要获悉他的路径。
|
这里以与在对文件系统进行导航时,所用到路径的同样方式,使用路径来给 Rust 指出,在何处找到模组树中的某个项目。要调用某个函数,那么就需要获悉他的路径。
|
||||||
|
|
||||||
而路径则可以有两种形式:
|
而路径则可以有两种形式:
|
||||||
|
Loading…
Reference in New Issue
Block a user