bluss / permutohedron

https://docs.rs/permutohedron/
Apache License 2.0
38 stars 5 forks source link

Add simple examples to documentation #3

Closed mbrubeck closed 8 years ago

bluss commented 8 years ago

Thanks!

bluss commented 8 years ago

I decided to do an edit, removing the example heading. I don't use the ## Example and ## Panic headings in my libraries. The main reason has been that they stand out the wrong way in method docs, but I'll keep it consistent here too.

The result looks like this http://bluss.github.io/permutohedron/doc/permutohedron/struct.Heap.html

at least the blue colour for the example blocks are an improvement.

bluss commented 8 years ago

Edited: ## Example stands out the wrong way in method docs