Skip to content

Commit

Permalink
just a typo fixed (apache#10442)
Browse files Browse the repository at this point in the history
* minor typo fixed

* to trigger CI

* to trigger CI

* fixed formatting issues

* black formatted file
  • Loading branch information
Sebastian Boblest authored and Ziqiang XU committed Mar 6, 2022
1 parent f6715a4 commit b90234e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer/doc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DocText : public DocAtom {
public:
explicit DocText(std::string str) {
if (str.find_first_of("\t\n") != str.npos) {
LOG(WARNING) << "text node: '" << str << "' should not has tab or newline.";
LOG(WARNING) << "text node: '" << str << "' should not have tab or newline.";
}
data_ = runtime::make_object<DocTextNode>(str);
}
Expand Down

0 comments on commit b90234e

Please sign in to comment.