Skip to content

Conversation

@geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Nov 27, 2025

Quick fix for documentation being out of sync following #20921 .

We could comment the other barrier uses, but to be honest I think the intent is very obvious.

@paldepind

@geoffw0 geoffw0 requested a review from a team as a code owner November 27, 2025 09:26
Copilot AI review requested due to automatic review settings November 27, 2025 09:26
@geoffw0 geoffw0 added no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code labels Nov 27, 2025
Copilot finished reviewing on behalf of geoffw0 November 27, 2025 09:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes documentation comments that were out of sync following changes in PR #20921. The comments incorrectly mentioned "boolean" types in barrier descriptions that only apply to numeric/integral types.

Key Changes:

  • Removed references to "boolean" type from three barrier class comments
  • Updated comments to accurately reflect that the barriers apply only to numeric/integral types

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
RegexInjectionExtensions.qll Updated comment for IntegralTypeBarrier to remove "boolean" reference
SqlInjectionExtensions.qll Updated comment for NumericTypeBarrier to remove "boolean" reference
LogInjectionExtensions.qll Updated comment for NumericTypeBarrier to remove "boolean" reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@paldepind paldepind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I missed those.

We could comment the other barrier uses, but to be honest I think the intent is very obvious.

Yes, I agree that it's pretty clear.

@geoffw0 geoffw0 merged commit 2371b65 into github:main Nov 27, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants