Fill a mixing glass with ice. Add rum, lime juice, and powdered sugar. Shake and strain into a chilled cocktail glass. Garnish with a lime slice.