Skip to content

Commit 728dfea

Browse files
committed
Fix apidoc comment
1 parent 7adc922 commit 728dfea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/fmt/os.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,9 @@ FMT_API std::system_error vwindows_error(int error_code, string_view fmt,
136136
* **Example**:
137137
*
138138
* // This throws a system_error with the description
139-
* // cannot open file 'madeup': The system cannot find the file
140-
* specified.
141-
* // or similar (system message may vary).
142-
* const char *filename = "madeup";
139+
* // cannot open file 'foo': The system cannot find the file specified.
140+
* // or similar (system message may vary) if the file doesn't exist.
141+
* const char *filename = "foo";
143142
* LPOFSTRUCT of = LPOFSTRUCT();
144143
* HFILE file = OpenFile(filename, &of, OF_READ);
145144
* if (file == HFILE_ERROR) {

0 commit comments

Comments
 (0)