Commit 5edb04a 1 parent 8238518 commit 5edb04a Copy full SHA for 5edb04a
File tree 2 files changed +5
-5
lines changed
samples/server/petstore/rust-axum/output
petstore-with-fake-endpoints-models-for-testing/src
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1827,7 +1827,7 @@ impl NullableTest {
1827
1827
NullableTest {
1828
1828
nullable,
1829
1829
nullable_with_null_default : None ,
1830
- nullable_with_present_default : Some ( Nullable :: Present ( "default" . to_string ( ) ) ) ,
1830
+ nullable_with_present_default : Some ( Nullable :: Present ( r# "default"# . to_string ( ) ) ) ,
1831
1831
nullable_with_no_default : None ,
1832
1832
nullable_array : None ,
1833
1833
min_item_test : None ,
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ impl Animal {
309
309
pub fn new ( class_name : String ) -> Animal {
310
310
Animal {
311
311
class_name,
312
- color : Some ( "red" . to_string ( ) ) ,
312
+ color : Some ( r# "red"# . to_string ( ) ) ,
313
313
}
314
314
}
315
315
}
@@ -1460,7 +1460,7 @@ impl Cat {
1460
1460
pub fn new ( class_name : String ) -> Cat {
1461
1461
Cat {
1462
1462
class_name,
1463
- color : Some ( "red" . to_string ( ) ) ,
1463
+ color : Some ( r# "red"# . to_string ( ) ) ,
1464
1464
declawed : None ,
1465
1465
}
1466
1466
}
@@ -2041,7 +2041,7 @@ impl Dog {
2041
2041
pub fn new ( class_name : String ) -> Dog {
2042
2042
Dog {
2043
2043
class_name,
2044
- color : Some ( "red" . to_string ( ) ) ,
2044
+ color : Some ( r# "red"# . to_string ( ) ) ,
2045
2045
breed : None ,
2046
2046
}
2047
2047
}
@@ -5858,7 +5858,7 @@ impl TestEnumParametersRequest {
5858
5858
#[ allow( clippy:: new_without_default, clippy:: too_many_arguments) ]
5859
5859
pub fn new ( ) -> TestEnumParametersRequest {
5860
5860
TestEnumParametersRequest {
5861
- enum_form_string : Some ( "-efg" . to_string ( ) ) ,
5861
+ enum_form_string : Some ( r# "-efg"# . to_string ( ) ) ,
5862
5862
}
5863
5863
}
5864
5864
}
You can’t perform that action at this time.
0 commit comments