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

Mz/update toolchain #1518

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Mz/update toolchain #1518

merged 2 commits into from
Sep 9, 2024

Conversation

mayeul-zama
Copy link
Contributor

No description provided.

Copy link
Member

@IceTDrinker IceTDrinker left a comment

Choose a reason for hiding this comment

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

just a few questions (maybe some rust regression on lifetime inference)

@@ -61,7 +61,7 @@ impl ServerKey {
str: &'a FheString,
pat: &'a FheString,
null: Option<&'a FheAsciiChar>,
) -> (CharIter, CharIter, Range<usize>) {
) -> (CharIter<'a>, CharIter<'a>, Range<usize>) {
Copy link
Member

Choose a reason for hiding this comment

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

🧐 that's new

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

@@ -254,7 +254,7 @@ pub trait ContiguousEntityContainer: AsRef<[Self::Element]> {
fn par_chunks<'this>(
&'this self,
chunk_size: usize,
) -> ParallelChunksWrappingLendingIterator<'_, Self::Element, Self::SelfView<'_>>
) -> ParallelChunksWrappingLendingIterator<'this, Self::Element, Self::SelfView<'this>>
Copy link
Member

Choose a reason for hiding this comment

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

do you have the lint that this is triggered by ? It's weird the inference is not working here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

thanks that's very useful, so essentially the lifetime elision is not exactly "find the lifetime yourself"

@mayeul-zama mayeul-zama merged commit 38b5759 into main Sep 9, 2024
143 of 145 checks passed
@mayeul-zama mayeul-zama deleted the mz/update_toolchain branch September 9, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants