Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing docs for Div, Rem, Shl and Shr (they show Mul instead.) #418

Open
Achtuur opened this issue Oct 20, 2024 · 0 comments
Open

Missing docs for Div, Rem, Shl and Shr (they show Mul instead.) #418

Achtuur opened this issue Oct 20, 2024 · 0 comments

Comments

@Achtuur
Copy link

Achtuur commented Oct 20, 2024

The docs for Div, Rem, Shl and Shr are showing the docs for Mul instead. The culprit is most likely the following:

derive_more/impl/src/lib.rs

Lines 221 to 225 in 3216eaf

create_derive!("mul", mul_like, Mul, mul_derive, mul);
create_derive!("mul", mul_like, Div, div_derive, div);
create_derive!("mul", mul_like, Rem, rem_derive, rem);
create_derive!("mul", mul_like, Shr, shr_derive, shr);
create_derive!("mul", mul_like, Shl, shl_derive, shl);

It seems that there are no doc/(div|rem|shl|shr).md, so only changing the $feature string here would not work.

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

No branches or pull requests

1 participant