]> git.lizzy.rs Git - rust.git/commit - library/core/src/slice/memchr.rs
Auto merge of #101030 - woppopo:const_location, r=scottmcm
authorbors <bors@rust-lang.org>
Fri, 14 Oct 2022 20:15:51 +0000 (20:15 +0000)
committerbors <bors@rust-lang.org>
Fri, 14 Oct 2022 20:15:51 +0000 (20:15 +0000)
commitbf15a9e5263fcea065a7ae9c179b2d24c2deb670
tree00ac9c51e829917bb138972293a76ed8906fa4b0
parent5819f419a7b9fcda92b74ab2c48010a778eaec40
parenta53e3acca914a1f6897c451ba35636ee1f72c0e7
Auto merge of #101030 - woppopo:const_location, r=scottmcm

Constify `Location` methods

Tracking issue: #102911

Example: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=4789884c2f16ec4fb0e0405d86b794f5
library/core/tests/lib.rs