Skip to content

Mutable vars in rusti don't change after assignment #6772

Closed
@dotdash

Description

@dotdash
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> let mut x = 8;
()
rusti> x   
8
rusti> x = 16
()
rusti> x
8

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