-
Notifications
You must be signed in to change notification settings - Fork 296
Open
Labels
Azure.CoreThe azure_core crateThe azure_core crateClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.design-discussionAn area of design currently under discussion and open to team and community feedback.An area of design currently under discussion and open to team and community feedback.
Description
We have Context::with_context<'b>(other: &Context<'a>) -> Context<'b>
that allows you to "reborrow" a Context<'a>
into some smaller lifetime Context<'b>
. However, in #2577 we identified that it feels cleaner to call this as a method instead of a constructor. This issue tracks refactoring it into a method: Context<'a>::to_borrowed<'b>(&self) -> Context<'b>
Metadata
Metadata
Assignees
Labels
Azure.CoreThe azure_core crateThe azure_core crateClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.design-discussionAn area of design currently under discussion and open to team and community feedback.An area of design currently under discussion and open to team and community feedback.
Type
Projects
Status
Untriaged