add rust snippet