include license headers

This commit is contained in:
Trevor Spiteri 2018-08-10 11:34:17 +02:00
parent 28a97a6ff7
commit ba98a18082
4 changed files with 53 additions and 6 deletions

View File

@ -37,10 +37,11 @@ compiler. When they are implemented, Fixed will require the
## License
This crate is licensed under either the
This crate is free software: you can redistribute it and/or modify it
under the terms of either
* [Apache License, Version 2.0][LICENSE-APACHE] or
* [MIT License][LICENSE-MIT]
* the [Apache License, Version 2.0][LICENSE-APACHE] or
* the [MIT License][LICENSE-MIT]
at your option.

View File

@ -1,3 +1,18 @@
// Copyright © 2018 Trevor Spiteri
// This library is free software: you can redistribute it and/or
// modify it under the terms of either
//
// * the Apache License, Version 2.0 or
// * the MIT License
//
// at your option.
//
// You should have recieved copies of the Apache License and the MIT
// License along with the library. If not, see
// <https://www.apache.org/licenses/LICENSE-2.0> and
// <https://opensource.org/licenses/MIT>.
use std::cmp::Ordering;
use std::fmt::{Binary, Debug, Display, Formatter, LowerHex, Octal, Result as FmtResult, UpperHex};
use std::str;

View File

@ -1,3 +1,18 @@
// Copyright © 2018 Trevor Spiteri
// This library is free software: you can redistribute it and/or
// modify it under the terms of either
//
// * the Apache License, Version 2.0 or
// * the MIT License
//
// at your option.
//
// You should have recieved copies of the Apache License and the MIT
// License along with the library. If not, see
// <https://www.apache.org/licenses/LICENSE-2.0> and
// <https://opensource.org/licenses/MIT>.
/*!
# Fixed-point numbers
@ -31,10 +46,11 @@ compiler. When they are implemented, Fixed will require the
## License
This crate is licensed under either the
This crate is free software: you can redistribute it and/or modify it
under the terms of either
* [Apache License, Version 2.0][LICENSE-APACHE] or
* [MIT License][LICENSE-MIT]
* the [Apache License, Version 2.0][LICENSE-APACHE] or
* the [MIT License][LICENSE-MIT]
at your option.

View File

@ -1,3 +1,18 @@
// Copyright © 2018 Trevor Spiteri
// This library is free software: you can redistribute it and/or
// modify it under the terms of either
//
// * the Apache License, Version 2.0 or
// * the MIT License
//
// at your option.
//
// You should have recieved copies of the Apache License and the MIT
// License along with the library. If not, see
// <https://www.apache.org/licenses/LICENSE-2.0> and
// <https://opensource.org/licenses/MIT>.
use std::cmp::Ordering;
use std::mem;