Skip to content

Commit

Permalink
Merge pull request #81 from adampetro/doc-typo
Browse files Browse the repository at this point in the history
Fix typo in `ArgList::contains_kw_args` docs
  • Loading branch information
matsadler authored Jun 29, 2023
2 parents fd39f11 + d749927 commit 5cc7e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/into_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub trait ArgList {

/// Whether the argument list contains keyword arguments. If true, the
/// last element of the `&[Self::Value]` produced by
/// `Self::into_arg_list_with` and [`AsRef`]
/// `Self::into_arg_list_with` and [`AsRef`] must be a [`RHash`]
fn contains_kw_args(&self) -> bool;
}

Expand Down Expand Up @@ -247,7 +247,7 @@ pub trait RArrayArgList {

/// Whether the argument list contains keyword arguments. If true, the
/// last element of the `RArray` produced by
/// `Self::into_array_arg_list_with`
/// `Self::into_array_arg_list_with` must be a [`RHash`]
fn contains_kw_args(&self) -> bool;
}

Expand Down

0 comments on commit 5cc7e6f

Please sign in to comment.