Third-ranked Jessica Pegula shook off nerves that contributed to a slow start against Elena-Gabriela Ruse, winning her opening match at the US Open in straight sets.