Synthesis of substituted 3‐pyrrolidinecarbonitriles