Skip to content

Commit

Permalink
Fix old (libdparse) D-Scanner linting warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladiwostok committed Oct 26, 2024
1 parent 8025c35 commit 38ba482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/path.d
Original file line number Diff line number Diff line change
Expand Up @@ -1446,8 +1446,7 @@ private auto _withDefaultExtension(R, C)(R path, C[] ext)
of segments to assemble the path from.
Returns: The assembled path.
*/
immutable(ElementEncodingType!(ElementType!Range))[]
buildPath(Range)(scope Range segments)
immutable(ElementEncodingType!(ElementType!Range))[] buildPath(Range)(scope Range segments)
if (isInputRange!Range && !isInfinite!Range && isSomeString!(ElementType!Range))
{
if (segments.empty) return null;
Expand Down

0 comments on commit 38ba482

Please sign in to comment.