How do i change ' to #

How do i change ' (label) to # (label)?
e.g.

'loop1: for i in 0.. {
    break 'loop1;
}

to

#loop1: for i in 0.. {
    break #loop1;
}

example

let a := 'A'

 'A: for i in 0.. {}

That's not something that can be done short of writing your own version of Rust. It's a fundamental piece of syntax.

3 Likes

thanks, I often get them('a', 'a) mixed up.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.