From 92d0b578a264910440560db304f0f97f472140aa Mon Sep 17 00:00:00 2001 From: James Higgs Date: Fri, 21 Jul 2017 08:37:09 +0100 Subject: [PATCH] Fix up the example for expand --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 06ab36e..33fabf7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -616,9 +616,9 @@ impl Config { /// /// # Example /// ```no_run - /// gcc::Config::new() - /// .file("src/foo.c") - /// .expand() + /// let out = gcc::Config::new() + /// .file("src/foo.c") + /// .expand(); /// ``` pub fn expand(&self) -> Vec { let compiler = self.get_compiler();