D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4634 - typo in levenshteinDistanceAndPath documentation
Summary: typo in levenshteinDistanceAndPath documentation
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 minor
Assignee: Shin Fujishiro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 10:58 UTC by Nick Treleaven
Modified: 2010-10-13 09:14 UTC (History)
1 user (show)

See Also:


Attachments
fix (359 bytes, patch)
2010-08-12 11:00 UTC, Nick Treleaven
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Nick Treleaven 2010-08-12 10:58:55 UTC
assert(p.field[0], 3);

should be:

assert(p.field[0] == 3);

patch attached ;-)
Comment 1 Nick Treleaven 2010-08-12 11:00:07 UTC
Created attachment 714 [details]
fix
Comment 2 Shin Fujishiro 2010-10-08 01:42:59 UTC
Seemingly there're more typos in std.algorithm. I'll look into it.
Comment 3 Shin Fujishiro 2010-10-13 09:14:03 UTC
Fixed in svn trunk r2101. Thanks!