aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/README.md b/rust/README.md
index bec73793..618f6971 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -31,7 +31,10 @@ Regenerate API schemas:
cargo install cargo-swagger # uses docker
cargo swagger fatcat-openapi2.yml fatcat-api --docker-tag=v2.3.1
sudo chown `whoami`:`whoami` -R fatcat-api
- # edit fatcat-api/Cargo.toml, set name to "fatcat-api"
+
+ # usually want to keep our changes to sub-module toml
+ git checkout fatcat-api/Cargo.toml
+
cargo fmt
# git commit the fatcat-api directory at this point