Skip to content

Commit

Permalink
fix minor typos in docs (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Jun 4, 2022
1 parent d7b78e6 commit 4e44852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cargo build

C example:

```
```bash
cc \
-o target/debug/sql \
-I datafusion/c/include \
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub extern "C" fn df_error_new(code: u32, message: *const libc::c_char) -> *mut
/// # Safety
///
/// This function should not be called with `error` that is not
/// created by `df_errro_new()`.
/// created by `df_error_new()`.
///
/// This function should not be called for the same `error` multiple
/// times.
Expand All @@ -59,7 +59,7 @@ pub unsafe extern "C" fn df_error_free(error: *mut DFError) {
/// # Safety
///
/// This function should not be called with `error` that is not
/// created by `df_errro_new()`.
/// created by `df_error_new()`.
///
/// This function should not be called with `error` that is freed by
/// `df_error_free()`.
Expand Down

0 comments on commit 4e44852

Please sign in to comment.