Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub trait Print {
- fn print(&self);
- }
- impl Print for Iterator<Item = Print> {
- fn print(&self) {
- for item in self {
- item.print();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement