Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jll63 committed Jul 30, 2022
1 parent 9468d8d commit 7c00b26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/synopsis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ define_method(std::string, meet, (Animal&, Animal&)) {
return "ignore";
}

define_method(std::string, meet, (Dog & dog1, Dog& dog2)) {
define_method(std::string, meet, (Dog& dog1, Dog& dog2)) {
return "wag tail";
}

define_method(std::string, meet, (Dog & dog, Cat& cat)) {
define_method(std::string, meet, (Dog& dog, Cat& cat)) {
return "chase";
}

define_method(std::string, meet, (Cat & cat, Dog& dog)) {
define_method(std::string, meet, (Cat& cat, Dog& dog)) {
return "run";
}

Expand Down
2 changes: 1 addition & 1 deletion reference.in/method_call_error.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ method_call_error_handler set_method_call_error_handler(
method_call_error_handler handler);
```
---
This mechanism is *deprecated*. Please use the new [error handler
This mechanism is **deprecated**. Please use the new [error handler
mechanism](set_error_handler.md) instead.

If a method call cannot be dispatched, an error handler is called with a
Expand Down
2 changes: 1 addition & 1 deletion reference/method_call_error.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ method_call_error_handler set_method_call_error_handler(
method_call_error_handler handler);
```
---
This mechanism is *deprecated*. Please use the new [error handler
This mechanism is **deprecated**. Please use the new [error handler
mechanism](set_error_handler.md) instead.

If a method call cannot be dispatched, an error handler is called with a
Expand Down

0 comments on commit 7c00b26

Please sign in to comment.