Skip to content

Commit

Permalink
Fix typos (#103)
Browse files Browse the repository at this point in the history
* Fix typo in README.md

* Fix typo in src/instruments.rs
  • Loading branch information
shuoer86 authored Jan 18, 2024
1 parent 25e1fea commit 09d4091
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ $ cargo instruments -t Allocations

_Open the trace file in Instruments.app manually_

By default the trace file will immediatly be opened with `Instruments.app`. If you do not want this behavior use the `--no-open` flag.
By default the trace file will immediately be opened with `Instruments.app`. If you do not want this behavior use the `--no-open` flag.

```sh
$ open target/instruments/mybin_Allocations_2021-05-09T12_34_56.trace
```

If there are mutliple packages, you can specify the package to profile with
If there are multiple packages, you can specify the package to profile with
the `--package` flag.

For example, you use Cargo's workspace to manage multiple packages. To profile
Expand Down
2 changes: 1 addition & 1 deletion src/instruments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ pub(crate) fn profile_target(
"{empty}".into()
};
if output.status.success() {
log::debug!("{xctrace_tool} exited successfuly");
log::debug!("{xctrace_tool} exited successfully");
log::debug!("captured stdout:\n{stdout}");
log::debug!("captured stderr:\n{stderr}");
}
Expand Down

0 comments on commit 09d4091

Please sign in to comment.