Skip to content

Commit 74a6fba

Browse files
apasel422brson
authored andcommitted
---
yaml --- r: 23699 b: refs/heads/master c: 21172ee h: refs/heads/master i: 23697: bece199 23695: 502eabc v: v3
1 parent e2a4929 commit 74a6fba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2d690ae43f77a6c4e1f8ba10afd32926e2459e8e
2+
refs/heads/master: 21172ee2808d51510d79b7a7b820cda0bd233986
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ pure fn eq_slice(a: &str, b: &str) -> bool {
668668
unsafe {
669669
libc::memcmp(ap as *libc::c_void,
670670
bp as *libc::c_void,
671-
alen as libc::size_t) == 0
671+
(alen - 1) as libc::size_t) == 0
672672
}
673673
}
674674
}

0 commit comments

Comments
 (0)