Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: release the turbofish #31

Merged
merged 1 commit into from
Nov 13, 2023

Commits on Nov 13, 2023

  1. feat: release the turbofish

    Unlike functions with anonymous generic arguments (foo: impl Bar),
    functions with named generic arguments can be called using the
    turbofish-notation `foo::<Baz>` in the case of the compiler unable to
    infer the type themself. IMHO, in library-methods, anonymous generics
    should be avoided. Hoewever, they are perfectly fine for internal
    methods and functions or in an initial implementation.
    
    In memory of Anna Harren.
    sivizius committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    000b76e View commit details
    Browse the repository at this point in the history