Browse Source

Fix up the example for expand

cmd
James Higgs 8 years ago
parent
commit
92d0b578a2
  1. 4
      src/lib.rs

4
src/lib.rs

@ -616,9 +616,9 @@ impl Config {
///
/// # Example
/// ```no_run
/// gcc::Config::new()
/// let out = gcc::Config::new()
/// .file("src/foo.c")
/// .expand()
/// .expand();
/// ```
pub fn expand(&self) -> Vec<u8> {
let compiler = self.get_compiler();

Loading…
Cancel
Save