1 // Copyright © Tavian Barnes <tavianator@tavianator.com>
2 // SPDX-License-Identifier: 0BSD
8 * Find the "typo" distance between two strings.
11 * The actual string typed by the user.
13 * The expected valid string.
14 * @return The distance between the two strings.
16 int typo_distance(const char *actual, const char *expected);