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

Add Extensions::get_or_insert[_with]() methods #3561

Merged
merged 6 commits into from
Feb 9, 2025

Conversation

axos88
Copy link
Contributor

@axos88 axos88 commented Jan 31, 2025

PR Type

Feature

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

@robjtede robjtede added A-http project: actix-http B-semver-minor labels Feb 9, 2025
@robjtede robjtede enabled auto-merge February 9, 2025 21:47
@robjtede
Copy link
Member

robjtede commented Feb 9, 2025

reasonable addition, thanks 👍🏻

@robjtede robjtede changed the title add get_or_insert and get_or_insert_with for Extensions Add Extensions::get_or_insert[_with]() methods Feb 9, 2025
@robjtede robjtede added this pull request to the merge queue Feb 9, 2025
Merged via the queue into actix:master with commit 04533a1 Feb 9, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-http project: actix-http B-semver-minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants