Skip to content

Commit cc64a83

Browse files
committed
fix formatting
1 parent 005d111 commit cc64a83

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/path.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ pub struct ForeignInterfacePath {
1010
}
1111

1212
impl ForeignInterfacePath {
13-
pub fn new(
14-
package_name: String,
15-
interface_name: String,
16-
version: Option<Version>,
17-
) -> Self {
13+
pub fn new(package_name: String, interface_name: String, version: Option<Version>) -> Self {
1814
ForeignInterfacePath {
1915
package_name,
2016
interface_name,
2117
version,
2218
}
2319
}
24-
20+
2521
pub fn package_name(&self) -> &str {
2622
self.package_name.as_ref()
2723
}
@@ -64,7 +60,7 @@ impl InterfacePath {
6460
version,
6561
}
6662
}
67-
63+
6864
pub fn package_name(&self) -> Option<&str> {
6965
self.package_name.as_ref().map(|n| n.as_str())
7066
}

0 commit comments

Comments
 (0)