Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Jan 20, 2023
1 parent 09f2f35 commit 83dd002
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ public static string Format(IFormatProvider? provider, CompositeFormat format, R
format.ValidateNumberOfArgs(args.Length);
return args.Length switch
{
0 => Format(provider, format, 0, 0, 0, args),
0 => format.Format,
1 => Format(provider, format, args[0], 0, 0, args),
2 => Format(provider, format, args[0], args[1], 0, args),
_ => Format(provider, format, args[0], args[1], args[2], args),
Expand Down

0 comments on commit 83dd002

Please sign in to comment.