What does this line mean

fn myfuncname(_: &str) -> 
{
    // Your code
}

hello, what does the "_:" in this line mean? I haven't encountered such a use or argument before, what does it mean?

It's the wildcard pattern that matches and ignores any value.

2 Likes