diff --git a/README.md b/README.md index 11fa8d5..d33df8f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/instruments.rs b/src/instruments.rs index 2427309..976fccc 100644 --- a/src/instruments.rs +++ b/src/instruments.rs @@ -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}"); }