]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #104163 - H4x5:once-repeat-with-debug, r=dtolnay
authorMichael Goulet <michael@errs.io>
Mon, 9 Jan 2023 03:57:52 +0000 (19:57 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Jan 2023 03:57:52 +0000 (19:57 -0800)
commitdb87e276c4c74650c58bff96345369f7c3221f76
tree015fd26dc5e1874906151a14440e269eac2f7c35
parenta377893da2cd7124e5a18c7116cbb70e16dd5541
parenteddb479ad36841a858f186af81d4ac360d2a2058
Rollup merge of #104163 - H4x5:once-repeat-with-debug, r=dtolnay

Don't derive Debug for `OnceWith` & `RepeatWith`

Closures don't impl Debug, so the derived impl is kinda useless. The behavior of not debug-printing closures is consistent with the rest of the iterator adapters/sources.