We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1bad57 + fd69e6e commit 39bc8f5Copy full SHA for 39bc8f5
1 file changed
src/librustc/mir/interpret/allocation.rs
@@ -137,7 +137,7 @@ impl<'tcx, Tag, Extra> Allocation<Tag, Extra> {
137
/// of an allocation (i.e., at the first *inaccessible* location) *is* considered
138
/// in-bounds! This follows C's/LLVM's rules.
139
/// If you want to check bounds before doing a memory access, better use `check_bounds`.
140
- pub fn check_bounds_ptr(
+ fn check_bounds_ptr(
141
&self,
142
ptr: Pointer<Tag>,
143
) -> EvalResult<'tcx> {
0 commit comments