Skip to content

Commit

Permalink
Merge pull request #2 from sowbug/master
Browse files Browse the repository at this point in the history
#[allow(missing_docs)] on as_str()
  • Loading branch information
synek317 authored Jun 4, 2024
2 parents 0143748 + c34aada commit 14d2b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/impls/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn impl_string(info: &Info) -> proc_macro2::TokenStream {
}

impl #name {
#[allow(missing_docs)]
pub fn as_str(&self) -> &str {
&self.0
}
Expand Down

0 comments on commit 14d2b7a

Please sign in to comment.