mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
6e0dc54872
Add generic example of std::ops::Sub in doc comments This PR adds an example of using generics with std::ops::Sub and is a follow up of PR #41612 and is related to issue #29365. I also wanted to add examples to Mul and Div, but I think these two traits are already loaded with examples.