Skip to content

Commit cc74b25

Browse files
[stringbuf.assign] Fix typo ("s" => "rhs"). (#4306)
The parameter of swap is "rhs"; there is no "s" here. (This appears to have been copy-pasted from [string.swap] where the parameter is named "s".)
1 parent b580699 commit cc74b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7810,7 +7810,7 @@
78107810
\expects
78117811
\tcode{allocator_traits<Allocator>::propagate_on_container_swap::value}
78127812
is \tcode{true} or
7813-
\tcode{get_allocator() == s.get_allocator()} is \tcode{true}.
7813+
\tcode{get_allocator() == rhs.get_allocator()} is \tcode{true}.
78147814

78157815
\pnum
78167816
\effects

0 commit comments

Comments
 (0)