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

Fix clippy errors #16

Merged
merged 1 commit into from
Jun 15, 2024
Merged

Fix clippy errors #16

merged 1 commit into from
Jun 15, 2024

Conversation

sile
Copy link
Owner

@sile sile commented Jun 15, 2024

Copilot Summary

This pull request includes changes to the SpanHandle implementation in the src/span.rs file. The changes are primarily focused on simplifying the code by removing unnecessary references in the context, start_child_span, and start_follows_from_span methods.

Here are the key changes:

  • src/span.rs: In the SpanHandle implementation, the context method was updated to remove the unnecessary reference in the map function. This simplifies the code and makes it more readable.
  • src/span.rs: In the SpanHandle implementation, the start_child_span method was updated to remove the unnecessary references in the if let statement. This change simplifies the code and improves readability.
  • src/span.rs: Similarly, in the SpanHandle implementation, the start_follows_from_span method was updated to remove the unnecessary references in the if let statement. This change also simplifies the code and improves readability.

@sile sile merged commit eaf6089 into master Jun 15, 2024
22 checks passed
@sile sile deleted the fix-lint-error branch June 15, 2024 06:30
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.

None yet

1 participant