Skip to content

Commit

Permalink
Fix spelling in doc comments (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcrail authored Mar 18, 2024
1 parent 919f145 commit f144f29
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion libduckdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mod openssl;
/// `cfg!(windows)`, since the latter does not properly handle cross-compilation
///
/// Note that there is no way to know at compile-time which system we'll be
/// targetting, and this test must be made at run-time (of the build script) See
/// targeting, and this test must be made at run-time (of the build script) See
/// https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts
#[allow(dead_code)]
fn win_target() -> bool {
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub enum Error {
/// given, the 2nd is how many were expected.
InvalidParameterCount(usize, usize),

/// Apppend Error
/// Append Error
AppendError,
}

Expand Down
2 changes: 1 addition & 1 deletion src/types/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub enum Value {
Double(f64),
/// The value is a Decimal.
Decimal(Decimal),
/// The value is a timestap.
/// The value is a timestamp.
Timestamp(TimeUnit, i64),
/// The value is a text string.
Text(String),
Expand Down
8 changes: 4 additions & 4 deletions src/types/value_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ pub enum ValueRef<'a> {
HugeInt(i128),
/// The value is a unsigned tiny integer.
UTinyInt(u8),
/// The value is a usigned small integer.
/// The value is a unsigned small integer.
USmallInt(u16),
/// The value is a usigned integer.
/// The value is a unsigned integer.
UInt(u32),
/// The value is a usigned big integer.
/// The value is a unsigned big integer.
UBigInt(u64),
/// The value is a f32.
Float(f32),
/// The value is a f64.
Double(f64),
/// The value is a decimal
Decimal(Decimal),
/// The value is a timestap.
/// The value is a timestamp.
Timestamp(TimeUnit, i64),
/// The value is a text string.
Text(&'a [u8]),
Expand Down
2 changes: 1 addition & 1 deletion src/vtab/excel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl VTab for ExcelVTab {
);
}
_ => {
panic!("Shouldn't happend");
panic!("Shouldn't happen");
}
}
}
Expand Down

0 comments on commit f144f29

Please sign in to comment.