Add semicolon to return statement for consistency

This commit is contained in:
Sean Chen
2019-06-20 14:36:13 -07:00
parent fd4a6469b9
commit aab420b2ec
+1 -1
View File
@@ -346,7 +346,7 @@ impl<A: Array> ArrayVec<A> {
/// ```
pub fn pop(&mut self) -> Option<A::Item> {
if self.len() == 0 {
return None
return None;
}
unsafe {
let new_len = self.len() - 1;