mem_categorization.rs removed pub from method called only from this mod.
This commit is contained in:
parent
0705e6a12e
commit
492b3b163f
1 changed files with 2 additions and 2 deletions
|
|
@ -315,8 +315,8 @@ impl 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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue