Skip to content

std: Deprecate finally module #21082

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

Merged
merged 2 commits into from
Jan 14, 2015
Merged

std: Deprecate finally module #21082

merged 2 commits into from
Jan 14, 2015

Conversation

brson
Copy link
Contributor

@brson brson commented Jan 13, 2015

No in-tree users. Ugly interface. Closes #14332.

I just happened to notice that this module still lives and has no users. Assuming we don't want it.

r? @aturon cc @alexcrichton

No in-tree users. Ugly interface. Closes rust-lang#14332.
(self.dtor)(self.mutate);
}
}

Copy link
Member

Choose a reason for hiding this comment

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

Could this switch to a custom struct implementing Drop instead of duplicating the module?

@brson
Copy link
Contributor Author

brson commented Jan 13, 2015

Review comments addressed.

@aturon
Copy link
Member

aturon commented Jan 13, 2015

Thanks @brson!

bors added a commit that referenced this pull request Jan 14, 2015
No in-tree users. Ugly interface. Closes #14332.

I just happened to notice that this module still lives and has no users. Assuming we don't want it.

r? @aturon cc @alexcrichton
@bors bors merged commit f0fe4bb into rust-lang:master Jan 14, 2015
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.

Remove or replace core::finally
4 participants