1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Documentation improvements

This commit is contained in:
Emil Ernerfeldt
2022-01-26 22:09:19 +01:00
parent 0d00185d9f
commit 1134258441
5 changed files with 28 additions and 22 deletions

View File

@@ -62,6 +62,7 @@ While using an immediate mode gui is simple, implementing one is a lot more tric
* read some code before writing your own
* follow the `egui` code style
* add blank lines around all `fn`, `struct`, `enum`, etc.
* `// Comment like this`, not `//like this`
* write idiomatic rust
* avoid `unsafe`
* avoid code that can cause panics