Discussion about this post

User's avatar
thyrotoxicoses's avatar

I think you should better

```

pub fn greet<S: AsRef<str>>(text: S) {

let name = test.as_ref();

println!("Hello, {}!", name);

}

```

Expand full comment
1 more comment...

No posts