Open
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
Type
Projects
Status
Untriaged