Skip to content

Updates doc comment for isqrt and checked_isqrt on all signes integer…#154417

Open
m1guelperez wants to merge 1 commit intorust-lang:mainfrom
m1guelperez:fix/improve-isqrt-documentation
Open

Updates doc comment for isqrt and checked_isqrt on all signes integer…#154417
m1guelperez wants to merge 1 commit intorust-lang:mainfrom
m1guelperez:fix/improve-isqrt-documentation

Conversation

@m1guelperez
Copy link

@m1guelperez m1guelperez commented Mar 26, 2026

Clarified the documentation for isqrt as well as checked_isqrt to make it clear, that always the positive square root is returned.

Fixes issue: #154000

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 26, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 26, 2026

r? @jhpratt

rustbot has assigned @jhpratt.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @scottmcm, libs
  • @scottmcm, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, jhpratt, scottmcm

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants