diff --git a/.all-contributorsrc b/.all-contributorsrc
index fe18385f..d7c7d465 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -1020,6 +1020,15 @@
"contributions": [
"content"
]
+ },
+ {
+ "login": "xuesongbj",
+ "name": "xuesong",
+ "avatar_url": "https://avatars.githubusercontent.com/u/18476085?v=4",
+ "profile": "http://xuesong.pydevops.com",
+ "contributions": [
+ "content"
+ ]
}
],
"contributorsPerLine": 8,
diff --git a/README.md b/README.md
index 6e5ce3f6..a3ef758d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-[](#contributors-)
+[](#contributors-)
# rustlings 🦀❤️
@@ -314,6 +314,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
 frogtd 🖋 |
 Zhenghao Lu 🖋 |
 Fredrik Enestad 🖋 |
+  xuesong 🖋 |
diff --git a/exercises/advanced_errors/advanced_errs2.rs b/exercises/advanced_errors/advanced_errs2.rs
index d9d44d06..54e669fd 100644
--- a/exercises/advanced_errors/advanced_errs2.rs
+++ b/exercises/advanced_errors/advanced_errs2.rs
@@ -64,7 +64,6 @@ impl Display for ParseClimateError {
match self {
NoCity => write!(f, "no city name"),
ParseFloat(e) => write!(f, "error parsing temperature: {}", e),
- _ => write!(f, "unhandled error!"),
}
}
}
diff --git a/exercises/traits/traits1.rs b/exercises/traits/traits1.rs
index 2ef9e11b..15e08f24 100644
--- a/exercises/traits/traits1.rs
+++ b/exercises/traits/traits1.rs
@@ -29,12 +29,12 @@ mod tests {
use super::*;
#[test]
- fn is_FooBar() {
+ fn is_foo_bar() {
assert_eq!(String::from("Foo").append_bar(), String::from("FooBar"));
}
#[test]
- fn is_BarBar() {
+ fn is_bar_bar() {
assert_eq!(
String::from("").append_bar().append_bar(),
String::from("BarBar")