Skip to content

Specifying a type to use for parameter-less "static" default methods in a trait #17

Closed
@SimonSapin

Description

@SimonSapin

<T> in this line is no longer valid in Rust master:
https://github.com/mozilla-servo/rust-core-foundation/blob/1f43d00330/base.rs#L57

Having a dummy parameter of type Option<Self> could work, but refactoring across repositories this will be a pain. (Not to mention how ugly it is.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions