Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Default rad/self construction #316

Open
@FintanH

Description

@FintanH

Some operations in Storage require that the default rad/self is set before performing them. I was thinking that a useful tactic might be to employ a PhantomData marker for ensuring that the default is set for an instance of Storage and those operations live under that impl.

This pushes defensive code for those checks into one place where the initialisation of the Storage happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions