Skip to content

Commit

Permalink
Update ch2-using-objects.md (MystenLabs#12843)
Browse files Browse the repository at this point in the history
Removed extra semicolon and code line

## Description 

Small typo fix

## Test Plan 

NA

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
ronny-mysten authored Jul 6, 2023
1 parent a749fef commit ac20646
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/src/build/programming-with-objects/ch2-using-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ let scenario = &mut scenario_val;
let recipient = @0x2;
test_scenario::next_tx(scenario, owner);
{
let object = test_scenario::take_from_sender<ColorObject>(scenario);;
transfer(object, recipient);
let object = test_scenario::take_from_sender<ColorObject>(scenario);
color_object::transfer(object, recipient);
};
```
Expand Down

0 comments on commit ac20646

Please sign in to comment.