Skip to content

Commit

Permalink
chore: Fix docs typo (#5821)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

Cmp is not a trait, it should be Ord.

## Additional Context



## Documentation\*

Check one:
- [ ] No documentation needed.
- [x] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
jfecher authored Aug 26, 2024
1 parent c45df4e commit 3e13b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/noir/concepts/comptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ From the user's perspective it will look like this:

```rust
// Example usage
#[derive(Default, Eq, Cmp)]
#[derive(Default, Eq, Ord)]
struct MyStruct { my_field: u32 }
```

Expand Down

0 comments on commit 3e13b34

Please sign in to comment.