Skip to content

Commit

Permalink
chore: fix some typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: rustfix <771054535@qq.com>
  • Loading branch information
rustfix committed Apr 15, 2024
1 parent 3cfb6b2 commit 81671de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions base/floats/src/munit.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static MUNIT_THREAD_LOCAL jmp_buf munit_error_jmp_buf;
#endif

/* At certain warning levels, mingw will trigger warnings about
* suggesting the format attribute, which we've explicity *not* set
* suggesting the format attribute, which we've explicitly *not* set
* because it will then choke on our attempts to use the MS-specific
* I64 modifier for size_t (which we have to use since MSVC doesn't
* support the C99 z modifier). */
Expand Down Expand Up @@ -1119,7 +1119,7 @@ munit_maybe_concat(size_t* len, char* prefix, char* suffix) {
return res;
}

/* Possbily free a string returned by munit_maybe_concat. */
/* Possibly free a string returned by munit_maybe_concat. */
static void
munit_maybe_free_concat(char* s, const char* prefix, const char* suffix) {
if (prefix != s && suffix != s)
Expand Down
2 changes: 1 addition & 1 deletion cmd/gorse-in-one/mysql2sqlite
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ END {
if( caseIssue ){
printerr( \
"INFO Pure sqlite identifiers are case insensitive (even if quoted\n" \
" or if ASCII) and doesnt cross-check TABLE and TEMPORARY TABLE\n" \
" or if ASCII) and doesn't cross-check TABLE and TEMPORARY TABLE\n" \
" identifiers. Thus expect errors like \"table T has no column named F\".")
}
}
2 changes: 1 addition & 1 deletion master/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (m *Master) nodeUp(key string, value interface{}) {
m.nodesInfo[key] = node
}

// nodeDown handles node information timout events.
// nodeDown handles node information timeout events.
func (m *Master) nodeDown(key string, value interface{}) {
node := value.(*Node)
log.Logger().Info("node down",
Expand Down

0 comments on commit 81671de

Please sign in to comment.