average rust rfc sample code