Skip to content

Commit 0130f8d

Browse files
fix: typo in comment
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 0df6250 commit 0130f8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/node_dotenv.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ MaybeLocal<Object> Dotenv::ToObject(Environment* env) const {
102102
return scope.Escape(result);
103103
}
104104

105-
// Removes leading and trailing spaces (spaces, tabs, and newlines) from a string_view
106-
// Returns an empty string_view if the input is empty
105+
// Removes leading and trailing spaces from a string_view.
106+
// Returns an empty string_view if the input is empty.
107107
// Example:
108108
// trim_spaces(" hello ") -> "hello"
109109
// trim_spaces("") -> ""

0 commit comments

Comments
 (0)