mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 16:56:17 +08:00
docs: remove superfluous backtick in replace.md (#365)
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ auto employee = Employee{
|
|||||||
auto employee2 =
|
auto employee2 =
|
||||||
rfl::replace(std::move(employee), rfl::make_field<"salary">(70000.0),
|
rfl::replace(std::move(employee), rfl::make_field<"salary">(70000.0),
|
||||||
rfl::make_field<"age">(46));
|
rfl::make_field<"age">(46));
|
||||||
````
|
```
|
||||||
|
|
||||||
In this case `age` is part of `Person` and `salary` part ot `Employee`, but
|
In this case `age` is part of `Person` and `salary` part ot `Employee`, but
|
||||||
because you have flattened them, you can treat them as if they were on
|
because you have flattened them, you can treat them as if they were on
|
||||||
|
|||||||
Reference in New Issue
Block a user