]> Sergey Matveev's repositories - public-inbox.git/commitdiff
wwwlisting: fix spelling and clarify sub location
authorEric Wong <e@80x24.org>
Wed, 30 Oct 2019 20:46:25 +0000 (20:46 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Oct 2019 20:50:40 +0000 (20:50 +0000)
Spell "Schwartzian" correctly, and clarify the location of
"modified" since we have multiple subs named "modified"

lib/PublicInbox/WwwListing.pm

index c5e16eb2ea9d6ee150df207b2d06c57130a7878a..03534f03e670c6b92e5da18ab4975984fe88a6ed 100644 (file)
@@ -96,7 +96,7 @@ sub html ($$) {
                $title .= ' - listing';
                $code = 200;
 
-               # Swartzian transform since ->modified is expensive
+               # Schwartzian transform since Inbox->modified is expensive
                @$list = sort {
                        $b->[0] <=> $a->[0]
                } map { [ $_->modified, $_ ] } @$list;