Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 267 Bytes

uselessCallsSwap.md

File metadata and controls

11 lines (6 loc) · 267 Bytes

Pattern: Redundant swap() call

Issue: -

Description

The swap() function has no logical effect when given itself as parameter (str.swap(str)).

Further Reading