Address needless_return lint
diff --git a/src/error.rs b/src/error.rs
index 16b9289..2337526 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -129,12 +129,11 @@
                 Some(span) => *span,
                 None => return Span::call_site(),
             };
-            return start.join(end).unwrap_or(start)
-
+            start.join(end).unwrap_or(start)
         }
         #[cfg(not(procmacro2_semver_exempt))]
         {
-            return start;
+            start
         }
     }