Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add to_ref and Deref functions for the context (#579)
I am one of the users of Melbourne and have found that ContextRef does not have a publicly available method to convert to `&'c Context`, so I've opened this PR to add the `to_ref` function for the context like the `OperationRef` does at https://github.com/raviqqe/melior/blob/main/melior/src/ir/operation.rs Signed-off-by: peefy <[email protected]>
- Loading branch information