Skip to content

Commit 76e8954

Browse files
authored
Merge pull request #124 from seanchen1991/master
Add semicolon to return statement for consistency
2 parents 9932ced + aab420b commit 76e8954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ impl<A: Array> ArrayVec<A> {
346346
/// ```
347347
pub fn pop(&mut self) -> Option<A::Item> {
348348
if self.len() == 0 {
349-
return None
349+
return None;
350350
}
351351
unsafe {
352352
let new_len = self.len() - 1;

0 commit comments

Comments
 (0)