green961

Results 3 issues of green961

// 如果 i 索引的数据小于 j 索引的数据,返回 true,~~且不会~~调用下面的 Swap(),即数据升序排序。 Less(i, j int) bool i 索引是后面的位置, 正是此时调用 Swap

找到一个就直接执行,上面我们的 python 路径是在 /usr/bin/python 里,在 PATH 列表里倒数第二个目录下,所以当我在 /usr/local/sbin 下创建一个名字也为 python 的可执行文件时,就会执行 ~~/usr/bin/python~~ 了 应为 /usr/local/sbin/python

https://kaisery.github.io/trpl-zh-cn/ch07-04-bringing-paths-into-scope-with-the-use-keyword.html ```rust mod front_of_house { pub mod hosting { pub fn add_to_waitlist() {} } } use crate::front_of_house::hosting; mod customer { pub fn eat_at_restaurant() { hosting::add_to_waitlist(); } } ``` 注意这里还有一个警告说 use...