Skip to content

Conversation

@morrisonlevi
Copy link
Contributor

What does this PR do?

This fixes or works around clippy lints that exist on nightly.

Motivation

I didn't like having a broken CI job as well as a broken clippy checker if I ran it locally.

Additional Notes

Nightly is annoying but helpful.

How to test the change?

Regular tests should work.

Doing allow(clippy::get_first) or any other lint that doesn't exist on
1.60 is annoying.
@morrisonlevi morrisonlevi requested a review from a team as a code owner July 9, 2022 00:49
Copy link
Contributor

@r1viollet r1viollet left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks for taking care of these

@morrisonlevi morrisonlevi merged commit 7e0d038 into main Jul 12, 2022
@morrisonlevi morrisonlevi deleted the levi/nightly-clippy-lints branch July 12, 2022 04:13
ivoanjo added a commit that referenced this pull request Jun 18, 2025
Currently, Java uses microsecond precision for uploaded profile
start/end, whereas Ruby, Python, Go and libddprof use second precision.

While discussing with @flodav he made a good point that just truncating
the start and end would mean that we could induce quite a bit of error.

I decided to bump it to nanos, since we have it anyway. Open to
change, if it's overkill :)
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.

4 participants