aboutsummaryrefslogtreecommitdiff
path: root/configamajig
diff options
context:
space:
mode:
authorMichael Gattozzi <mgattozzi@gmail.com>2019-12-19 13:38:30 -0500
committerMichael Gattozzi <mgattozzi@gmail.com>2019-12-19 13:38:30 -0500
commit82faafde2c493a4a61fcf71e6c650552699053e7 (patch)
treece3f4bc8eb206a326b70652a171bc82ba4795127 /configamajig
parent2e11db09bcd75bac74b1356888e10740a5272d6c (diff)
Upgrade Rust from 1.39 to 1.40
Diffstat (limited to 'configamajig')
-rw-r--r--configamajig/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/configamajig/src/lib.rs b/configamajig/src/lib.rs
index b67d4f2..ba13623 100644
--- a/configamajig/src/lib.rs
+++ b/configamajig/src/lib.rs
@@ -95,7 +95,7 @@ pub struct UserConfig {
}
impl UserConfig {
- /// Create a new UserConfig from a given name and assign UUID to them
+ /// Create a new `UserConfig` from a given name and assign UUID to them
pub fn new(name: impl Into<String>) -> Self {
Self {
name: name.into(),
@@ -111,7 +111,8 @@ pub struct RepoConfig {
}
impl RepoConfig {
- /// Create a new RepoConfig
+ /// Create a new `RepoConfig`
+ #[must_use]
pub fn new() -> Self {
Self {
maintainers: Vec::new(),