Skip to content

Only smart pointers should implement Deref #172

@matthiasbeyer

Description

@matthiasbeyer

Hi.

I found in your API that BlobsProtocol: Deref<Store> and (even more strange) BlobsProtocol: Deref<Blobs>.

The Rust API guidelines state that only smart pointers should be implementing Deref.

I think it would be a good idea to remove these Deref implementations (and possibly others) for API clearity.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions