diff options
author | Cara Salter <cara@devcara.com> | 2022-06-10 10:40:18 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-06-10 10:40:18 -0400 |
commit | 0c7afe3bd5197363c5df9560cca9ed5608dd58bf (patch) | |
tree | 77f8f73f7a19a4fbbb11b85dc83f2da0e8938b04 | |
parent | 0449d7b38617933482f65d23cb8785b68466b82c (diff) | |
download | solarlib-0c7afe3bd5197363c5df9560cca9ed5608dd58bf.tar.gz solarlib-0c7afe3bd5197363c5df9560cca9ed5608dd58bf.zip |
ship: Make Star a borrow
-rw-r--r-- | src/ship.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship.rs b/src/ship.rs index 228ec9a..43e660e 100644 --- a/src/ship.rs +++ b/src/ship.rs @@ -78,7 +78,7 @@ impl Ship { } } - pub async fn download(&self, target: Star) -> Result<(), Error> { + pub async fn download(&self, target: &Star) -> Result<(), Error> { let mut output: Output; |