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

Code-Fehler bei Thema 06, Folie 19 #12

Open
@xehpuk

Description

@xehpuk

Kasten rechts unten:

let b = Foo;
let c = &mut b;

error[E0596]: cannot borrow b as mutable, as it is not declared as mutable

Korrektur:

let mut b = Foo;
let c = &mut b;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions