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

Removed bad import from docs #8117

Closed
wants to merge 1 commit into from
Closed

Removed bad import from docs #8117

wants to merge 1 commit into from

Conversation

kbsletten
Copy link

use std::num::atan no longer works as atan has been redefined as a member of Trigonometric.

`use std::num::atan` no longer works as `atan` has been redefined as a member of `Trigonometric`.
@bluss
Copy link
Member

bluss commented Jul 30, 2013

std::num::atan is present in num.rs, in fact these wrapper functions are much easier to use.

#[inline(always)] pub fn atan<T: Trigonometric>(value: T) -> T { value.atan() }

@kbsletten kbsletten closed this Jul 30, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 30, 2021
update: ```Sugg::not()``` replacing the comparison operator. rust-lang#7320

fixes rust-lang#7320

changelog: ```needless_bool```: Changed to make a smart suggestion.
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.

2 participants