Skip to content

Commit 832f8bf

Browse files
committed
rename: as_raw_ptr_ty to remove_raw_ptr
1 parent 9a481d1 commit 832f8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3190,7 +3190,7 @@ impl Type {
31903190
matches!(self.ty.kind(Interner), TyKind::Raw(..))
31913191
}
31923192

3193-
pub fn as_raw_ptr_ty(&self) -> Option<Type> {
3193+
pub fn remove_raw_ptr(&self) -> Option<Type> {
31943194
if let TyKind::Raw(_, ty) = self.ty.kind(Interner) {
31953195
Some(self.derived(ty.clone()))
31963196
} else {

0 commit comments

Comments
 (0)