From 307f7416ce93f5cac6e5d6aa4ab08a9fb039c491 Mon Sep 17 00:00:00 2001 From: Alex Grin <362784+lyoshenka@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:39:31 -0500 Subject: [PATCH] clarify headers in structs-exercise.md (#164) --- apps/base-docs/base-camp/docs/structs/structs-exercise.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/base-docs/base-camp/docs/structs/structs-exercise.md b/apps/base-docs/base-camp/docs/structs/structs-exercise.md index 557b2af352..3bef0d51b6 100644 --- a/apps/base-docs/base-camp/docs/structs/structs-exercise.md +++ b/apps/base-docs/base-camp/docs/structs/structs-exercise.md @@ -33,11 +33,11 @@ Add a function called `addCar` that adds a car to the user's collection in the ` - Accept arguments for make, model, color, and number of doors, and use those to create a new instance of `Car` - Add that `Car` to the `garage` under the user's address -### Get All Cars Belonging to a User +### Get All Cars for the Calling User Add a function called `getMyCars`. It should return an array with all of the cars owned by the calling user. -### Get User Cars +### Get All Cars for Any User Add a function called `getUserCars`. It should return an array with all of the cars for any given `address`.