diff --git a/src/lib.rs b/src/lib.rs index a00d597..5369084 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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),*) } )* @@ -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()),* diff --git a/src/traversal.rs b/src/traversal.rs index 0997e9e..941db59 100644 --- a/src/traversal.rs +++ b/src/traversal.rs @@ -137,7 +137,7 @@ impl Walk where D: Iterator + 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) -> Self { let data = data.commands(); Self { @@ -156,7 +156,7 @@ impl Walk> where D: Iterator + 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, transform: Transform) -> Self { let data = data.commands(); let data = TransformCommands { data, transform };