Cook carrots in boiling salted water until crisp tender, about 8 minutes. Drain and place back in the pan with butter and rosemary. Season with salt and pepper