Skip to content

Commit caa020b

Browse files
author
bors-servo
authored
Auto merge of #1324 - demurgos:patch-1, r=emilio
Fix typo in `clang_version` documentation This is just a small PR to fix the "semvar" typo to "semver".
2 parents 1f097dd + 881b538 commit caa020b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1853,13 +1853,13 @@ fn parse(context: &mut BindgenContext) -> Result<(), ()> {
18531853
/// Extracted Clang version data
18541854
#[derive(Debug)]
18551855
pub struct ClangVersion {
1856-
/// Major and minor semvar, if parsing was successful
1856+
/// Major and minor semver, if parsing was successful
18571857
pub parsed: Option<(u32, u32)>,
18581858
/// full version string
18591859
pub full: String,
18601860
}
18611861

1862-
/// Get the major and the minor semvar numbers of Clang's version
1862+
/// Get the major and the minor semver numbers of Clang's version
18631863
pub fn clang_version() -> ClangVersion {
18641864
if !clang_sys::is_loaded() {
18651865
// TODO(emilio): Return meaningful error (breaking).

0 commit comments

Comments
 (0)