fix: as suggested change remove_slice
to as_slice
This commit is contained in:
parent
34e3ea8cc8
commit
cfbdf62344
@ -3224,7 +3224,7 @@ pub fn remove_ref(&self) -> Option<Type> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn remove_slice(&self) -> Option<Type> {
|
||||
pub fn as_slice(&self) -> Option<Type> {
|
||||
match &self.ty.kind(Interner) {
|
||||
TyKind::Slice(ty) => Some(self.derived(ty.clone())),
|
||||
_ => None,
|
||||
|
Loading…
Reference in New Issue
Block a user