Skip to content

Commit 9661a2c

Browse files
committed
Refactor of documentation
1 parent 1065576 commit 9661a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/metadata/runtime_bindings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ pub fn setup_runtime(find_symbol_ptr: impl Fn(&str) -> Option<*mut c_void>) {
754754
/// if gcd(a,b) = 1, then x is the modular multiplicative inverse of a modulo b.
755755
/// See https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
756756
///
757-
/// Given two numbers a, b. It returns a block with gcd(a, b) and the bezout coefficient x.
758-
/// Both of these numbers are received as arguments in the entry block.
757+
/// This function declares a MLIR function that given two numbers a and b, returns a MLIR struct with gcd(a, b)
758+
/// and the bezout coefficient x. The declaration is done in the body of the module.
759759
fn build_egcd_function<'ctx>(
760760
module: &Module,
761761
context: &'ctx Context,

0 commit comments

Comments
 (0)