amethyst / amethyst/rustrogueliketutorial
Copy code funtion always includes fn main
未關閉
bug
- 主要語言
- Rust
- 星號
- 970
- 分支
- 166
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi,
when I use the copy code button on the code snippets in the tutorial it always includes an fn main.
For example [Chapter 3](http://bfnightly.bracketproductions.com/rustbook/chapter_3.html) first snippet when I copy I get:
```
#![allow(unused_variables)]
fn main() {
/// Makes a map with solid boundaries and 400 randomly placed walls. No guarantees that it won't
/// look awful.
pub fn new_map_test() -> Vec {
...
}
}
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。