Skip to content

redundant-conversion

Default severity: warning

An exact same-type conversion cannot change a value or its method set. Remove it to make the type flow clearer.

normalized := UserID(existingUserID)
normalized := UserID(rawID)