Skip to content

Commit c795e27

Browse files
Apply suggestions from code review
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
1 parent 8afbd3a commit c795e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl Build {
568568
/// ```no_run
569569
/// cc::Build::new()
570570
/// .file("src/foo.c")
571-
/// .flag("-Wall -Wextra")
571+
/// .flags(["-Wall, "-Wextra"])
572572
/// .compile("foo");
573573
/// ```
574574
pub fn flags<Iter>(&mut self, flags: Iter) -> &mut Build

0 commit comments

Comments
 (0)