Skip to content

Fix typo: 'priviledge' -> 'privilege' in Permissions.sol#698

Open
Zentex1337 wants to merge 1 commit intothirdweb-dev:mainfrom
Zentex1337:fix/typo-privilege-spelling
Open

Fix typo: 'priviledge' -> 'privilege' in Permissions.sol#698
Zentex1337 wants to merge 1 commit intothirdweb-dev:mainfrom
Zentex1337:fix/typo-privilege-spelling

Conversation

@Zentex1337
Copy link

@Zentex1337 Zentex1337 commented Feb 3, 2026

Summary

  • Fixed the misspelling of 'privilege' as 'priviledge' in the NatSpec comment for the PermissionsInvalidPermission error in Permissions.sol

Test plan

  • No functional changes, only documentation/comment fix
  • Existing tests should continue to pass

Summary by CodeRabbit

  • Documentation
    • Fixed a typo in an error message to improve clarity.

Fixed the misspelling of 'privilege' as 'priviledge' in the
NatSpec comment for the PermissionsInvalidPermission error.
@coderabbitai
Copy link

coderabbitai bot commented Feb 3, 2026

Walkthrough

Documentation correction in the Permissions contract: a spelling error in an error declaration is fixed, changing "priviledge" to "privilege". No functional or structural changes.

Changes

Cohort / File(s) Summary
Documentation Fix
contracts/extension/Permissions.sol
Corrected typo in error message: "Invalid priviledge to revoke" → "Invalid privilege to revoke".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: fixing a typo in a documentation comment from 'priviledge' to 'privilege' in Permissions.sol, which directly matches the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant