Skip to content

Commit 93186f1

Browse files
authored
Merge pull request #2885 from ruby/newline-eof
Add newline at eof
2 parents 1dc62ef + 4614b89 commit 93186f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: false
5151
Cpp11BracedListStyle: false
5252
ReflowComments: false
5353
SortIncludes: Never
54+
InsertNewlineAtEOF: true
5455

5556
# Spaces
5657
SpaceAfterCStyleCast: true

src/location.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ void rbs_location_range_list_append(rbs_location_range_list_t *list, rbs_locatio
2828
}
2929

3030
list->length++;
31-
}
31+
}

0 commit comments

Comments
 (0)