Skip to content

Commit

Permalink
[Minor][Doc] Minor fix typo of cpp reference (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen authored Feb 17, 2024
1 parent 229021a commit 6a4bc5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/include/gar/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace GAR_NAMESPACE_INTERNAL {
class Status;

/**
* @A class for representing either a usable value, or an error.
* A class for representing either a usable value, or an error.
*
* A Result object either contains a value of type `T` or a Status object
* explaining why such a value is not present. The type `T` must be
Expand All @@ -50,7 +50,7 @@ class Status;
* returns false. Sample usage:
*
* ```
* gar::Result<Foo> result = CalculateFoo();
* GraphArchive::Result<Foo> result = CalculateFoo();
* if (!result.has_error()) {
* Foo foo = result.value();
* foo.DoSomethingCool();
Expand Down

0 comments on commit 6a4bc5a

Please sign in to comment.