aboutsummaryrefslogtreecommitdiff
path: root/src/ship.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship.rs')
-rw-r--r--src/ship.rs2
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;