yewstack / implicit-clone

Immutable types and ImplicitClone trait similar to Copy
20 stars 10 forks source link

Impl From<&String> for IString #8

Closed cecton closed 2 years ago

cecton commented 2 years ago

Related to https://github.com/yewstack/yew/pull/2792

cecton commented 2 years ago

@WorldSEnder I don't see any issue with this trivial PR... do you want to review? (I don't want to merge things cowboy-style)

WorldSEnder commented 2 years ago

I suppose, since it's impossible to provide a From<&str> impl that would overlap the From<&'static str> impl, this makes sense.

cecton commented 2 years ago

I'm not sure this is useful anymore so I will close it for now....