Skip to content

Guide: &mut self self do not have examples #18787

Closed
@gamazeps

Description

@gamazeps

In the 'Method syntax' section, three syntaxes are mentioned: self, &self, and &mut self.
However only the &self syntax is given an example.

I think it may be usefull to give some sample code using the other syntaxes.

It should be rather easy and a good first issue if someone wants to start working on Rust :)

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