Merge doc typo; Fixes #8002

[SVN r82821]
This commit is contained in:
Marshall Clow 2013-02-11 16:22:32 +00:00
parent 9383bbc283
commit 1b2cd6378b

View File

@ -54,7 +54,7 @@ Integrating `string_ref` into your code is fairly simple. Wherever you pass a `c
return bar.substr ( 2, 3 );
}
if ( extract_part ( "ABCDEFG" ).front() == "C" ) { /* do something */ }
if ( extract_part ( "ABCDEFG" ).front() == 'C' ) { /* do something */ }
Let's figure out what happens in this (contrived) example.