diff --git a/src/core/src/signature.rs b/src/core/src/signature.rs index 956b46493..ec82312ad 100644 --- a/src/core/src/signature.rs +++ b/src/core/src/signature.rs @@ -446,7 +446,7 @@ fn default_version() -> f64 { impl Signature { pub fn name(&self) -> Option { - self.name.as_ref().map(|name| name.clone()) + self.name.clone() } // return name, if not None; or "" if None.