Skip to content

Commit c88dec2

Browse files
committed
Fix typo
1 parent a6d4a31 commit c88dec2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

paddle/utils/Error.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ namespace paddle {
8282
class Error {
8383
public:
8484
/**
85-
* Construct an no-error value.
85+
* Construct a no-error value.
8686
*/
8787
Error() {}
8888

@@ -100,7 +100,7 @@ class Error {
100100
}
101101

102102
/**
103-
* @brief what will return the error message. If no error, return nullptr.
103+
* @brief msg will return the error message. If no error, return nullptr.
104104
*/
105105
const char* msg() const {
106106
if (msg_) {
@@ -114,6 +114,7 @@ class Error {
114114
* @brief operator bool, return True if there is no error.
115115
*/
116116
operator bool() const { return !msg_; }
117+
117118
/**
118119
* @brief check this status by glog.
119120
* @note It is a temp method used during cleaning Paddle code. It will be

0 commit comments

Comments
 (0)