Skip to content

Commit

Permalink
Merge pull request #8 from waywardmonkeys/fix-typos
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
dfrg authored Nov 7, 2024
2 parents 3d5282c + b781467 commit 88c7063
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ macro_rules! define_f32_ext {
impl F32Ext for f32 {
$(
fn $fpname(self, $($argname:$argty),*) -> $ret {
// This instrinsic is natively defined in libstd.
// This intrinsic is natively defined in libstd.
f32::$fpname(self, $($argname),*)
}
)*
Expand All @@ -331,7 +331,7 @@ macro_rules! define_f32_ext {
impl F32Ext for f32 {
$(
fn $fpname(self, $($argname:$argty),*) -> $ret {
// Use the libm version of this instrinsic.
// Use the libm version of this intrinsic.
<$ret>::libm_cvt(libm::$libmname(
self.into(),
$(($argname).into()),*
Expand Down
4 changes: 2 additions & 2 deletions src/traversal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl<D> Walk<D>
where
D: Iterator<Item = Command> + Clone,
{
/// Creates a new iterator like type that steps along a path by abitrary distances.
/// Creates a new iterator like type that steps along a path by arbitrary distances.
pub fn new(data: impl PathData<Commands = D>) -> Self {
let data = data.commands();
Self {
Expand All @@ -156,7 +156,7 @@ impl<D> Walk<TransformCommands<D>>
where
D: Iterator<Item = Command> + Clone,
{
/// Creates a new iterator like type that steps along a transformed path by abitrary distances.
/// Creates a new iterator like type that steps along a transformed path by arbitrary distances.
pub fn with_transform(data: impl PathData<Commands = D>, transform: Transform) -> Self {
let data = data.commands();
let data = TransformCommands { data, transform };
Expand Down

0 comments on commit 88c7063

Please sign in to comment.