Skip to content

Conversation

@sile
Copy link
Owner

@sile sile commented Nov 1, 2025

No description provided.

@sile sile requested a review from Copilot November 1, 2025 12:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the project to use Rust edition 2024 and rand 0.9, with corresponding API changes.

  • Updated Rust edition from 2021 to 2024 in Cargo.toml
  • Upgraded rand dependency from 0.8 to 0.9
  • Replaced deprecated rand::thread_rng() calls with rand::rng() across all test files

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Cargo.toml Updated Rust edition to 2024 and rand dependency to 0.9
tests/lib.rs Updated all rand API calls from thread_rng() to rng() for compatibility with rand 0.9
src/tree_core.rs Added redundant unsafe keyword to already unsafe function body

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sile sile merged commit f6aa368 into master Nov 1, 2025
10 checks passed
@sile sile deleted the update-edition-and-deps branch November 1, 2025 12: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.

2 participants