rust/library
Matthias Krüger 14931b94a2
Rollup merge of #90196 - yanok:master, r=scottmcm
Fix and extent ControlFlow `traverse_inorder` example

Fix and extent ControlFlow `traverse_inorder` example

1. The existing example compiles on its own, but any usage fails to be monomorphised and so doesn't compile. Fix that by using Fn trait instead of FnMut.
2. Added an example usage of `traverse_inorder` showing how we can terminate the traversal early.

Fixes #90063
2021-10-25 22:59:47 +02:00
..
2021-10-23 21:55:57 -04:00
2021-10-17 21:20:18 -04:00
2021-09-28 11:31:47 +09:00
2021-09-28 11:31:47 +09:00
2021-09-21 11:24:08 +02:00