Skip to content

Commit

Permalink
Merge pull request #34 from fritzrehde/master
Browse files Browse the repository at this point in the history
Fixed some typos
  • Loading branch information
frozenlib authored Oct 30, 2023
2 parents cf1f92a + dceb497 commit a59f9c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
struct X(String);

#[test]
fn no_defualt_std() {}
fn no_default_std() {}
2 changes: 1 addition & 1 deletion parse-display-tests/tests/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ fn display_enum_variant_format() {
}

#[test]
fn display_enum_variant_format_typle_var() {
fn display_enum_variant_format_tuple_var() {
#[derive(Display)]
enum TestEnum {
#[display("AAA-{0}")]
Expand Down
8 changes: 4 additions & 4 deletions parse-display/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
fn test_crate() {
#[derive(crate::Display)]
#[display(crate = crate)]
struct TeseDisplay(u32);
struct TestDisplay(u32);

#[derive(crate::FromStr)]
#[display(crate = crate)]
struct TeseFromStr(u32);
struct TestFromStr(u32);
}

mod my_mod {
Expand All @@ -17,9 +17,9 @@ mod my_mod {
fn test_crate_mod() {
#[derive(crate::Display)]
#[display(crate = my_mod::my_crate)]
struct TeseDisplay(u32);
struct TestDisplay(u32);

#[derive(crate::FromStr)]
#[display(crate = my_mod::my_crate)]
struct TeseFromStr(u32);
struct TestFromStr(u32);
}

0 comments on commit a59f9c3

Please sign in to comment.