Add more `std` prelude items to `crate::prelude`
authorMatt Corallo <git@bluematt.me>
Thu, 21 Mar 2024 14:22:52 +0000 (14:22 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 5 Apr 2024 09:05:26 +0000 (09:05 +0000)
commit061d396b074a8d8b2f7d83c316b158749e6dcdb5
tree6c62c6d53aa266c3b11439ad47fd5fc3e11f3cc4
parentcd327089a8c719844b776601e9ccd0728777ac28
Add more `std` prelude items to `crate::prelude`

New rustc beta now warns on duplicate imports when one of the
imports is from a wildcard import or the default prelude. Thus, for
simplicity, we need to make our `crate::prelude` mostly identical
to the `std` one, allowing us to always simply use the
`crate::prelude` and let it decide if we need to import anything.
lightning/src/lib.rs