Carpet has raw edges
Kathy, here is a video I watched about this very thing. https://www.youtube.com/watch?v=bm37Jxu4YoI
Kathy: maybe this will help
I like Nan's suggestion but - as a confirmed tightwad, I buy duct tape in a complimentary color and fold it around the rug edges. Not as pretty but it does work for me.