]> git.lizzy.rs Git - rust.git/commit
Update no_std docs
authorSteve Klabnik <steve@steveklabnik.com>
Wed, 30 Sep 2015 15:46:33 +0000 (11:46 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Wed, 30 Sep 2015 15:46:33 +0000 (11:46 -0400)
commit4632ad889686006c6c52f165c360fe6d4d381f98
tree1a3666e45be5ed5d2659b673482aa3119167c9c2
parent3e6d7243ae9749eff27fd320cb422e42291e79d4
Update no_std docs

This is part of #28572, but doesn't complete it. Amongst other things,
this patch:

* Increases consistency in the way feature flags are used with other
  docs.
* Removes the ignores, which is nice: we actually had some syntax errors
  in the examples :sob:.
* Mentions #![no_core]

Realistically, this document used to be in the order of least to most:
nothing, then adding core. But with the changes in RFC 1184, this is
backwards: it now shows stuff that uses core from the beginning. In the
future, I'd like to revamp this to go from 'most to least', but I'd like
to see the discussion in https://github.com/rust-lang/rust/issues/27701
goes before I write more.
src/doc/trpl/no-stdlib.md