Skip to content

Commit 0eb617a

Browse files
authored
Fix typo (#204)
Typo in a code example.
1 parent 3d90c60 commit 0eb617a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/introduction/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Codegen's graph structure makes it easy to analyze relationships between code el
245245
```python
246246
# Find dead code
247247
for func in codebase.functions:
248-
if len(function.usages) == 0:
248+
if len(func.usages) == 0:
249249
print(f'🗑️ Dead code: {func.name}')
250250
func.remove()
251251

0 commit comments

Comments
 (0)