From 728dfeab5bfe5ddb500ee37d33d8608c456b7c4d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 25 Oct 2025 08:06:23 -0700 Subject: [PATCH] Fix apidoc comment --- include/fmt/os.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/fmt/os.h b/include/fmt/os.h index 9455d9d3..94d730de 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -136,10 +136,9 @@ FMT_API std::system_error vwindows_error(int error_code, string_view fmt, * **Example**: * * // This throws a system_error with the description - * // cannot open file 'madeup': The system cannot find the file - * specified. - * // or similar (system message may vary). - * const char *filename = "madeup"; + * // cannot open file 'foo': The system cannot find the file specified. + * // or similar (system message may vary) if the file doesn't exist. + * const char *filename = "foo"; * LPOFSTRUCT of = LPOFSTRUCT(); * HFILE file = OpenFile(filename, &of, OF_READ); * if (file == HFILE_ERROR) {