diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-04-03 19:12:14 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-04-03 19:12:14 -0500 |
commit | c94960b49f463b3c4a7da9fb1b6b2c122f7dd125 (patch) | |
tree | 6be101dd21b61775313e04b6c695629b183f48b4 /src/ssh.rs | |
parent | 8a6631053a48a64f0c3b21ec0d92b6b687de9638 (diff) |
refactor: clean up logic and impl trait for writing sessions
Diffstat (limited to 'src/ssh.rs')
-rw-r--r-- | src/ssh.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ impl KnownHosts { .flatten() .take_while(|s| !s.starts_with('#')) .filter_map(|l| l.split_whitespace().next().map(str::to_owned)) - .map(Session::from) + .map(Session::discover) .collect(); Ok(Self(inner)) |