Drop unneeded functions

This commit is contained in:
Graham Christensen 2019-11-02 17:58:48 +01:00
parent 78d1395ce5
commit 45349b8c71
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -340,15 +340,6 @@ mod tests {
PackageArchSrc { linux, darwin: 0 } PackageArchSrc { linux, darwin: 0 }
} }
pub fn darwin(darwin: usize) -> PackageArchSrc {
PackageArchSrc::linux(0).and_darwin(darwin)
}
pub fn and_linux(mut self, linux: usize) -> PackageArchSrc {
self.linux = linux;
self
}
pub fn and_darwin(mut self, darwin: usize) -> PackageArchSrc { pub fn and_darwin(mut self, darwin: usize) -> PackageArchSrc {
self.darwin = darwin; self.darwin = darwin;
self self