mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
e5277c1457
Remove hidden `foo` functions from doc examples; use `Termination` trait. Fixes https://github.com/rust-lang/rust/issues/49233. Easier to review with the white-space ignoring `?w=1` feature: https://github.com/rust-lang/rust/pull/49357/files?w=1