Fix typo in doc comment (#4022)
Some checks failed
CI / sanitize (push) Failing after 14s
CI / build (push) Failing after 15s
Check Bindgen Output / check-bindgen (push) Has been cancelled
CI / checks (push) Has been cancelled

This commit is contained in:
Wilfred Hughes 2024-12-19 22:49:54 -08:00 committed by GitHub
parent c132f1928f
commit 90666c951d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
#![no_std]
/// `LanguageFn` wraps a C function that returns a pointer to a tree-sitter grammer.
/// `LanguageFn` wraps a C function that returns a pointer to a tree-sitter grammar.
#[repr(transparent)]
#[derive(Clone, Copy)]
pub struct LanguageFn(unsafe extern "C" fn() -> *const ());