Skip to content

Commit

Permalink
json_elements: s/foramted/formatted/
Browse files Browse the repository at this point in the history
fix the typos

Signed-off-by: Kefu Chai <[email protected]>

Closes #2101
  • Loading branch information
tchaikov authored and xemul committed Feb 15, 2024
1 parent 7c5dbb9 commit b858234
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/seastar/json/json_elements.hh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public:
/**
* The to_string return the value
* formated as a json value
* @return the value foramted for json
* @return the value formatted for json
*/
virtual std::string to_string() override
{
Expand Down Expand Up @@ -199,7 +199,7 @@ public:
jsonable& operator=(const jsonable&) = default;
virtual ~jsonable() = default;
/**
* create a foramted string of the object.
* create a formatted string of the object.
* @return the object formated.
*/
virtual std::string to_json() const = 0;
Expand Down Expand Up @@ -236,8 +236,8 @@ struct json_base : public jsonable {
json_base operator=(const json_base&) = delete;

/**
* create a foramted string of the object.
* @return the object formated.
* create a formatted string of the object.
* @return the object formatted.
*/
virtual std::string to_json() const;

Expand Down

0 comments on commit b858234

Please sign in to comment.