Skip to content

Commit

Permalink
Merge pull request #12 from FuelLabs/bitzoic-src-2-revert
Browse files Browse the repository at this point in the history
SRC-2 Change "Panic" to "Revert" terminology
  • Loading branch information
bitzoic authored Aug 8, 2023
2 parents 47c2885 + 723c3a4 commit 06e24db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions standards/src_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ Example:
/// * [u64] - The number of hashes performed.
```

#### - Panics
#### - Reverts

This section has a `h1` header.
Lists the cases in which the function will panic starting with the `*` symbol. The list SHALL be in the order of occurrence within the function.
Lists the cases in which the function will revert starting with the `*` symbol. The list SHALL be in the order of occurrence within the function.
Example:

```rust
/// # Panics
/// # Reverts
///
/// * When `argument_1` or `argument_2` are a zero [b256].
```
Expand Down Expand Up @@ -306,7 +306,7 @@ This standard will improve security by providing developers with relevant inform
///
/// * [bool] - Determines whether `number` is or is not 5.
///
/// # Panics
/// # Reverts
///
/// * When the sender is not the owner.
///
Expand Down

0 comments on commit 06e24db

Please sign in to comment.