Skip to content

Commit 492b3b1

Browse files
committed
mem_categorization.rs removed pub from method called only from this mod.
1 parent 0705e6a commit 492b3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/mem_categorization.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ impl MutabilityCategory {
315315
ret
316316
}
317317

318-
pub fn from_pointer_kind(base_mutbl: MutabilityCategory,
319-
ptr: PointerKind) -> MutabilityCategory {
318+
fn from_pointer_kind(base_mutbl: MutabilityCategory,
319+
ptr: PointerKind) -> MutabilityCategory {
320320
let ret = match ptr {
321321
Unique => {
322322
base_mutbl.inherit()

0 commit comments

Comments
 (0)