mem_categorization.rs removed pub from method called only from this mod.

This commit is contained in:
Felix S. Klock II 2015-03-30 14:05:12 +02:00
parent 0705e6a12e
commit 492b3b163f

View File

@ -315,8 +315,8 @@ pub fn from_borrow_kind(borrow_kind: ty::BorrowKind) -> MutabilityCategory {
ret
}
pub fn from_pointer_kind(base_mutbl: MutabilityCategory,
ptr: PointerKind) -> MutabilityCategory {
fn from_pointer_kind(base_mutbl: MutabilityCategory,
ptr: PointerKind) -> MutabilityCategory {
let ret = match ptr {
Unique => {
base_mutbl.inherit()