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
The libuuid documentation (and henceforth the source code itself) mixes up string and str in method signatures, specifically the name of the method itself.
…e-conflicts, r=Veykril
fix: pick up new names when the name conflicts in 'introduce_named_generic'
Improve generation of names for generic parameters in `introduce_named_generics`.
fixrust-lang#15731.
### Changes
- Modified `for_generic_parameter` function in `suggest_name.rs` to handle conflicts with existing generic parameters and generate unique names accordingly.
- Update `introduce_named_generic` function and pass existing params to `for_generic_parameter`, enabling the detection and handling of name collisions.
The libuuid documentation (and henceforth the source code itself) mixes up string and str in method signatures, specifically the name of the method itself.
Proposed changes:
fn to_simple_str(&self) -> String
=>fn to_simple_string(&self) -> String
fn to_hyphenated_str(&self) -> String
=>fn to_hyphenated_string(&self) -> String
fn to_urn_str(&self) -> String
=>fn to_urn_string(&self) -> String
fn parse_string(us: &str) -> Result<Uuid, ParseError>
=>fn parse_str(us: &str) -> Result<Uuid, ParseError>
The text was updated successfully, but these errors were encountered: