Remove brackets to be consistent with surrounding code.

This commit is contained in:
TryExceptElse committed 2019-11-22 00:27:45 -08:00
1 parent db7af704a6
commit 994a168364
1 file changed
+2 -3
+2 -3
View File
@@ -26,11 +26,10 @@ int main(int argc, char const *argv[])
for (int i = 0; i < 20; i++)
{
// Add odd numbers to the front, even numbers to the back.
if (i % 2 == 0) {
if (i % 2 == 0)
d_push_front(my_deque, i);
} else {
else
d_push_back(my_deque, i);
}
}
// Iterate from the start (front index) to the end (rear index) of the deque