From 40344010565d335fdad1430a2d18d0a631a8a03a Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Fri, 9 Feb 2024 12:30:58 +0600 Subject: [PATCH] :memo: Fixed input name in path.Shift docs --- path/path.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/path/path.go b/path/path.go index b323714..2bd0958 100644 --- a/path/path.go +++ b/path/path.go @@ -6,9 +6,9 @@ import ( "strings" ) -// Shift splits off the first component of p, which will be cleaned of relative -// components before processing. head will never contain a slash and tail will -// always be a rooted path without trailing slash. +// Shift splits off the first component of raw, which will be cleaned of +// relative components before processing. head will never contain a slash and +// tail will always be a rooted path without trailing slash. // // See: https://blog.merovius.de/posts/2017-06-18-how-not-to-use-an-http-router/ //