Just give it a quick function test. Ensure the pistol is unloaded.
Engage the thumb safety. Press the trigger. Nothing should happen.
Depress the thumb safety. Press trigger. Hammer should fall.
Insert a pencil in the barrel, eraser first. Cock hammer and press trigger. Hammer should fall and pencil should shoot out the barrel.
If everything works, no worries. If the safety, trigger, or hammer fails, or the pencil doesn't fly out, see a gunsmith.
Just dropping the pistol on a rug should cause no harm. It's made of steel, which I am willing to bet is a bit harder than your rug or floor.