mirror of
https://github.com/fmtlib/fmt.git
synced 2024-10-02 13:02:03 +00:00
Fix formatting
This commit is contained in:
parent
f2c16957f7
commit
554abb12f1
4
format.h
4
format.h
@ -1412,7 +1412,7 @@ class SystemError : public internal::RuntimeError {
|
|||||||
the system message corresponding to the error code.
|
the system message corresponding to the error code.
|
||||||
*error_code* is a system error code as given by ``errno``.
|
*error_code* is a system error code as given by ``errno``.
|
||||||
|
|
||||||
**Example**
|
**Example**::
|
||||||
|
|
||||||
// This throws a SystemError with the description
|
// This throws a SystemError with the description
|
||||||
// cannot open file 'madeup': No such file or directory
|
// cannot open file 'madeup': No such file or directory
|
||||||
@ -2114,7 +2114,7 @@ class WindowsError : public SystemError {
|
|||||||
|
|
||||||
**Example**::
|
**Example**::
|
||||||
|
|
||||||
// This throws an WindowsError with the description
|
// This throws a WindowsError with the description
|
||||||
// cannot open file 'madeup': The system cannot find the file specified.
|
// cannot open file 'madeup': The system cannot find the file specified.
|
||||||
// or similar (system message may vary).
|
// or similar (system message may vary).
|
||||||
const char *filename = "madeup";
|
const char *filename = "madeup";
|
||||||
|
Loading…
Reference in New Issue
Block a user