about summary refs log tree commit diff
path: root/src/libregex
diff options
context:
space:
mode:
authorSubhash Bhushan <subhash.bhushan@kaybus.com>2014-11-08 21:17:51 +0530
committerSubhash Bhushan <subhash.bhushan@kaybus.com>2014-11-20 23:45:42 +0530
commitbc9de771d5f2ab71a0e3b0eb27a92c65e8ddd4b9 (patch)
tree3c4b73ceb5ca5574d2025d9da1ed86a2f6af2b71 /src/libregex
parent394269d16e3752a23ffa273e68f8aaefd2a510c4 (diff)
downloadrust-bc9de771d5f2ab71a0e3b0eb27a92c65e8ddd4b9.tar.gz
rust-bc9de771d5f2ab71a0e3b0eb27a92c65e8ddd4b9.zip
Rename remaining Failures to Panic
Diffstat (limited to 'src/libregex')
-rw-r--r--src/libregex/compile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregex/compile.rs b/src/libregex/compile.rs
index 52167ead18a..c361a25bf52 100644
--- a/src/libregex/compile.rs
+++ b/src/libregex/compile.rs
@@ -66,7 +66,7 @@ pub enum Inst {
     Jump(InstIdx),
 
     // Jumps to the instruction at the first index given. If that leads to
-    // a failing state, then the instruction at the second index given is
+    // a panic state, then the instruction at the second index given is
     // tried.
     Split(InstIdx, InstIdx),
 }