summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-06-01 09:52:57 -0400
committerGitHub <noreply@github.com>2018-06-01 09:52:57 -0400
commitcaa020b80ac7b77d5c272470af611c53a5a62f3b (patch)
tree96634b603a13672c5dd8c60fe6231fe56ae18b31
parent1f097ddd484f57eb9e81a1d0872494ee1d0f6ad0 (diff)
parent881b538083f02b925a74bbf1ef5e8dcfe3639da0 (diff)
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".
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2c904056..9f90ffb7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1853,13 +1853,13 @@ fn parse(context: &mut BindgenContext) -> Result<(), ()> {
/// Extracted Clang version data
#[derive(Debug)]
pub struct ClangVersion {
- /// Major and minor semvar, if parsing was successful
+ /// Major and minor semver, if parsing was successful
pub parsed: Option<(u32, u32)>,
/// full version string
pub full: String,
}
-/// Get the major and the minor semvar numbers of Clang's version
+/// Get the major and the minor semver numbers of Clang's version
pub fn clang_version() -> ClangVersion {
if !clang_sys::is_loaded() {
// TODO(emilio): Return meaningful error (breaking).