Change "return" to "returning this value" when explaining free regions
This commit is contained in:
parent
74ce76a009
commit
7710d959f4
@ -42,7 +42,7 @@ impl fmt::Display for ConstraintCategory {
|
||||
// Must end with a space. Allows for empty names to be provided.
|
||||
match self {
|
||||
ConstraintCategory::Assignment => write!(f, "assignment "),
|
||||
ConstraintCategory::Return => write!(f, "return "),
|
||||
ConstraintCategory::Return => write!(f, "returning this value "),
|
||||
ConstraintCategory::Cast => write!(f, "cast "),
|
||||
ConstraintCategory::CallArgument => write!(f, "argument "),
|
||||
_ => write!(f, ""),
|
||||
|
Loading…
x
Reference in New Issue
Block a user