chore: fix some struct names in comments (#2974)

Signed-off-by: deferdeter <deferdeter@outlook.com>
pull/2983/head
deferdeter 2024-04-16 14:15:13 +08:00 committed by GitHub
parent 5f72d0489b
commit 2f8ff5662d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import (
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
) )
// acceptType is a struct that holds the parsed value of an Accept header // acceptedType is a struct that holds the parsed value of an Accept header
// along with quality, specificity, parameters, and order. // along with quality, specificity, parameters, and order.
// Used for sorting accept headers. // Used for sorting accept headers.
type acceptedType struct { type acceptedType struct {

View File

@ -25,7 +25,7 @@ type routeParser struct {
plusCount int // number of plus parameters, used internally to give the plus parameter its number plusCount int // number of plus parameters, used internally to give the plus parameter its number
} }
// paramsSeg holds the segment metadata // routeSegment holds the segment metadata
type routeSegment struct { type routeSegment struct {
// const information // const information
Const string // constant part of the route Const string // constant part of the route