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

Preparing release. #1355

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Preparing release. #1355

merged 2 commits into from
Oct 6, 2023

Conversation

Narsil
Copy link
Collaborator

@Narsil Narsil commented Oct 6, 2023

No description provided.

.flat_map(|i| {
let w = &words[*i] as *const _ as *mut _;
.flat_map(|&i| {
let word = &words[i] as *const _ as *mut Word;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ArthurZucker Let's keep track of this. The newer compiler raised the casting of &Word to &mut Word as undefined behavior (meaning they can break it whenever they want).

Here I'm just keeping the raw pointer instead which works. But maybe things start breaking from this at some point.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 6, 2023

The documentation is not available anymore as the PR was closed or merged.

@Narsil Narsil merged commit 4322056 into main Oct 6, 2023
12 checks passed
@Narsil Narsil deleted the prepare_release branch October 6, 2023 10:56
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