typo undelying -> underlying

This commit is contained in:
kevaundray
2021-02-18 15:09:24 +00:00
committed by GitHub
parent cf92c2792a
commit afd4d28cef

View File

@@ -36,7 +36,7 @@ pub enum Extern {
} }
impl Extern { impl Extern {
/// Return the undelying type of the inner `Extern`. /// Return the underlying type of the inner `Extern`.
pub fn ty(&self) -> ExternType { pub fn ty(&self) -> ExternType {
match self { match self {
Self::Function(ft) => ExternType::Function(ft.ty().clone()), Self::Function(ft) => ExternType::Function(ft.ty().clone()),