use rust snippet