Looks like it did both.
We can see the railgun being cut in half, and then Kidd himself doesnβt seem to be cut just heavily wounded like Oden.
He cut and didnβt cut in 1 slash, I really think this is the best swordsmanship weβve seen in the whole series.