#!/usr/bin/env bash echo "Linting code" export src_dir=`dirname ${DIRENV_FILE}` find ${src_dir}/src -name '*.rs' | xargs rustfmt --edition 2021