Require documentation by default for libstd
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
This commit is contained in:
parent
4a5d887b58
commit
007651cd26
50 changed files with 699 additions and 69 deletions
|
@ -303,7 +303,11 @@ impl<A> IterBytes for *const A {
|
|||
}
|
||||
}
|
||||
|
||||
/// A trait for converting a value to a list of bytes.
|
||||
pub trait ToBytes {
|
||||
/// Converts the current value to a list of bytes. This is equivalent to
|
||||
/// invoking iter_bytes on a type and collecting all yielded values in an
|
||||
/// array
|
||||
fn to_bytes(&self, lsb0: bool) -> ~[u8];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue