Skip to content

Commit

Permalink
Fix docs to use std instead of core.
Browse files Browse the repository at this point in the history
When I submitted #6748 yesterday, I used the old name.
  • Loading branch information
steveklabnik committed May 27, 2013
1 parent d577eaf commit e2fcb92
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/libstd/bool.rs
Expand Up @@ -44,10 +44,10 @@ use from_str::FromStr;
*
* # Examples
* ~~~
* rusti> core::bool::not(true)
* rusti> std::bool::not(true)
* false
* ~~~
* rusti> core::bool::not(false)
* rusti> std::bool::not(false)
* true
* ~~~
*/
Expand All @@ -58,10 +58,10 @@ pub fn not(v: bool) -> bool { !v }
*
* # Examples
* ~~~
* rusti> core::bool::and(true, false)
* rusti> std::bool::and(true, false)
* false
* ~~~
* rusti> core::bool::and(true, true)
* rusti> std::bool::and(true, true)
* true
* ~~~
*/
Expand All @@ -72,10 +72,10 @@ pub fn and(a: bool, b: bool) -> bool { a && b }
*
* # Examples
* ~~~
* rusti> core::bool::or(true, false)
* rusti> std::bool::or(true, false)
* true
* ~~~
* rusti> core::bool::or(false, false)
* rusti> std::bool::or(false, false)
* false
* ~~~
*/
Expand All @@ -88,10 +88,10 @@ pub fn or(a: bool, b: bool) -> bool { a || b }
*
* # Examples
* ~~~
* rusti> core::bool::xor(true, false)
* rusti> std::bool::xor(true, false)
* true
* ~~~
* rusti> core::bool::xor(true, true)
* rusti> std::bool::xor(true, true)
* false
* ~~~
*/
Expand All @@ -106,10 +106,10 @@ pub fn xor(a: bool, b: bool) -> bool { (a && !b) || (!a && b) }
*
* # Examples
* ~~~
* rusti> core::bool::implies(true, true)
* rusti> std::bool::implies(true, true)
* true
* ~~~
* rusti> core::bool::implies(true, false)
* rusti> std::bool::implies(true, false)
* false
* ~~~
*/
Expand All @@ -122,10 +122,10 @@ pub fn implies(a: bool, b: bool) -> bool { !a || b }
*
* # Examples
* ~~~
* rusti> core::bool::eq(false, true)
* rusti> std::bool::eq(false, true)
* false
* ~~~
* rusti> core::bool::eq(false, false)
* rusti> std::bool::eq(false, false)
* true
* ~~~
*/
Expand All @@ -138,10 +138,10 @@ pub fn eq(a: bool, b: bool) -> bool { a == b }
*
* # Examples
* ~~~
* rusti> core::bool::ne(false, true)
* rusti> std::bool::ne(false, true)
* true
* ~~~
* rusti> core::bool::ne(false, false)
* rusti> std::bool::ne(false, false)
* false
* ~~~
*/
Expand All @@ -152,10 +152,10 @@ pub fn ne(a: bool, b: bool) -> bool { a != b }
*
* # Examples
* ~~~
* rusti> core::bool::is_true(true)
* rusti> std::bool::is_true(true)
* true
* ~~~
* rusti> core::bool::is_true(false)
* rusti> std::bool::is_true(false)
* false
* ~~~
*/
Expand All @@ -166,10 +166,10 @@ pub fn is_true(v: bool) -> bool { v }
*
* # Examples
* ~~~
* rusti> core::bool::is_false(false)
* rusti> std::bool::is_false(false)
* true
* ~~~
* rusti> core::bool::is_false(true)
* rusti> std::bool::is_false(true)
* false
* ~~~
*/
Expand Down Expand Up @@ -223,8 +223,8 @@ pub fn to_str(v: bool) -> ~str { if v { ~"true" } else { ~"false" } }
*
* # Examples
* ~~~
* do core::bool::all_values |x: bool| {
* println(core::bool::to_str(x));
* do std::bool::all_values |x: bool| {
* println(std::bool::to_str(x));
* }
* ~~~
*/
Expand Down

5 comments on commit e2fcb92

@bors
Copy link
Contributor

@bors bors commented on e2fcb92 May 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from thestinger
at steveklabnik@e2fcb92

@bors
Copy link
Contributor

@bors bors commented on e2fcb92 May 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging steveklabnik/rust/core_to_std = e2fcb92 into auto

@bors
Copy link
Contributor

@bors bors commented on e2fcb92 May 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

steveklabnik/rust/core_to_std = e2fcb92 merged ok, testing candidate = 3941f78

@bors
Copy link
Contributor

@bors bors commented on e2fcb92 May 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on e2fcb92 May 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 3941f78

Please sign in to comment.