fix: gg rust 1.82 for introducing a nice breaking change in config which was not mentioned in changelog
Some checks failed
Install.sh / build (push) Has been cancelled
Linux / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled

This commit is contained in:
veeso
2024-10-21 11:09:50 +02:00
parent 69f821baef
commit e45c3d5b4e
11 changed files with 30 additions and 30 deletions

View File

@@ -62,7 +62,7 @@ impl SmbParams {
self.password = Some(secret);
}
#[cfg(windows)]
#[cfg(win)]
pub fn set_default_secret(&mut self, _secret: String) {}
}
@@ -108,7 +108,7 @@ mod test {
}
#[test]
#[cfg(windows)]
#[cfg(win)]
fn should_init_smb_params_with_optionals() {
let params = SmbParams::new("localhost", "temp")
.username(Some("foo"))