You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Path for an enum variant like my_mod::MyType::MyVariant, and I can remove the MyVariant part with path.segments.pop(), however that gives me a path like my_mod::MyType:: which is syntatically incorrect for a Path to a type.
Punctuated should have a method to remove the trailing ::.
The text was updated successfully, but these errors were encountered:
I have a
Path
for an enum variant likemy_mod::MyType::MyVariant
, and I can remove theMyVariant
part withpath.segments.pop()
, however that gives me a path likemy_mod::MyType::
which is syntatically incorrect for aPath
to a type.Punctuated
should have a method to remove the trailing::
.The text was updated successfully, but these errors were encountered: