#!/bin/sh
set -e

echo '+cargo +nightly fmt --all -- --check'
cargo +nightly fmt --all -- --check
git add -u
