amethyst / amethyst/rustrogueliketutorial

Copy code funtion always includes fn main

Abierto
#18 1 comentario 0 reacciones 1 asignado Reclamado por @thebracket Ver en GitHub
bug
Lenguaje dominante
Rust
Estrellas
970
Forks
166
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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 {
...
}
}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.