Were you riding far right? If so, you were providing the driver with the information that you considered the lane wide enough for safe sharing. This does not excuse the driver but may be something to think about in deciding on the riding habits that work best for your safety.