We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c2552e commit c75ec7aCopy full SHA for c75ec7a
src/builders/module.rs
@@ -81,7 +81,7 @@ impl ModuleBuilder<'_> {
81
/// # Arguments
82
///
83
/// * `name` - The name of the extension.
84
- pub fn set_name(mut self, name: impl Into<String>) -> Self {
+ pub fn name(mut self, name: impl Into<String>) -> Self {
85
self.name = name.into();
86
self
87
}
@@ -91,7 +91,7 @@ impl ModuleBuilder<'_> {
91
92
93
/// * `version` - The current version of the extension.
94
- pub fn set_version(mut self, version: impl Into<String>) -> Self {
+ pub fn version(mut self, version: impl Into<String>) -> Self {
95
self.version = version.into();
96
97
0 commit comments