Skip to content

Commit

Permalink
fix: typo in comment
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
AugustinMauroy and aduh95 authored Feb 6, 2025
1 parent 2a6ba9d commit 6fa16b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_dotenv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ Local<Object> Dotenv::ToObject(Environment* env) const {
return result;
}

// Removes leading and trailing spaces from a string_view
// Returns an empty string_view if the input is empty
// Removes leading and trailing spaces from a string_view.
// Returns an empty string_view if the input is empty.
// Example:
// trim_spaces(" hello ") -> "hello"
// trim_spaces("") -> ""
Expand Down

0 comments on commit 6fa16b6

Please sign in to comment.