From 4fd806ecdcd887f8977494a22d5c429d05300ab0 Mon Sep 17 00:00:00 2001 From: 007gzs <007gzs@gmail.com> Date: Wed, 21 Feb 2024 17:29:47 +0800 Subject: [PATCH] Update stack-overflow.md --- src/compiler/pitfalls/stack-overflow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/pitfalls/stack-overflow.md b/src/compiler/pitfalls/stack-overflow.md index 5a94e422..e9c52592 100644 --- a/src/compiler/pitfalls/stack-overflow.md +++ b/src/compiler/pitfalls/stack-overflow.md @@ -19,7 +19,7 @@ mod tests { 以上代码是一个测试模块,它在堆上生成了一个数组`stack`,初步看起来数组挺大的,先尝试运行下`cargo test`: -> 你很可能会遇到`#![feature(test)]`错误,因为该特性目前只存在`Rust Nightly`版本上,具体解决方法见[Rust 语言圣经](https://course.rs/appendix/rust-version.html#在指定目录使用rust-nightly) +> 你很可能会遇到`#![feature(test)]`错误,因为该特性目前只存在`Rust Nightly`版本上,具体解决方法见[Rust 语言圣经](https://course.rs/appendix/rust-version.html#在指定目录使用-rust-nightly) ```console running 1 test