From 361834e49c11116168414867828e78f1fb470f2e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 18 Sep 2021 16:57:21 +0300 Subject: [PATCH] Minor documentation corrections --- doc/system/reference.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/system/reference.adoc b/doc/system/reference.adoc index 854be96..c1830e1 100644 --- a/doc/system/reference.adoc +++ b/doc/system/reference.adoc @@ -725,7 +725,7 @@ constexpr void assign( int val, const error_category & cat ) noexcept; [none] * {blank} + -Effects: :: `*this = error_code( val, cat );`. +Effects: :: `*this = error_code( val, cat )`. ``` void assign( int val, const error_category & cat, @@ -734,7 +734,7 @@ void assign( int val, const error_category & cat, [none] * {blank} + -Effects: :: `*this = error_code( val, cat, loc );`. +Effects: :: `*this = error_code( val, cat, loc )`. ``` template @@ -753,7 +753,7 @@ constexpr void clear() noexcept; * {blank} + Effects: :: - `*this = error_code();`. + `*this = error_code()`. #### Observers @@ -1700,8 +1700,8 @@ template * {blank} + Effects: :: - - If `*this` holds a value `t`, `os << "value:" << t;`. - - If `*this` holds an error `e`, `os << "error:" << e;`. + - If `*this` holds a value `t`, `os << "value:" << t`. + - If `*this` holds an error `e`, `os << "error:" << e`. Returns: :: `os`. @@ -1943,8 +1943,8 @@ template * {blank} + Effects: :: - - If `*this` holds a value, `os << "value:void";`. - - If `*this` holds an error `e`, `os << "error:" << e;`. + - If `*this` holds a value, `os << "value:void"`. + - If `*this` holds an error `e`, `os << "error:" << e`. Returns: :: `os`.