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.