diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-01-11 16:32:31 +0000 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-01-13 19:47:02 +0000 |
| commit | 88336ea4c3c2d18f739d9dfcfdf5a4aa10eea861 (patch) | |
| tree | af89a6bc9e0999bf1a2d27f9f6978bd0d9b29c27 /src/libstd | |
| parent | 2cf736f76563f054aecd84207b39114c6fceb8ed (diff) | |
| download | rust-88336ea4c3c2d18f739d9dfcfdf5a4aa10eea861.tar.gz rust-88336ea4c3c2d18f739d9dfcfdf5a4aa10eea861.zip | |
Cosmetic improvements
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/memchr.rs | 3 | ||||
| -rw-r--r-- | src/libstd/sys/cloudabi/abi/cloudabi.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/redox/memchr.rs | 3 | ||||
| -rw-r--r-- | src/libstd/sys/unix/memchr.rs | 3 | ||||
| -rw-r--r-- | src/libstd/sys/windows/memchr.rs | 5 |
5 files changed, 6 insertions, 10 deletions
diff --git a/src/libstd/memchr.rs b/src/libstd/memchr.rs index b43a299d592..9f44c67c1cc 100644 --- a/src/libstd/memchr.rs +++ b/src/libstd/memchr.rs @@ -1,5 +1,4 @@ -// -// Original implementation taken from rust-memchr +// Original implementation taken from rust-memchr. // Copyright 2015 Andrew Gallant, bluss and Nicolas Koch /// A safe interface to `memchr`. diff --git a/src/libstd/sys/cloudabi/abi/cloudabi.rs b/src/libstd/sys/cloudabi/abi/cloudabi.rs index aac1804734a..0bf8c2d5998 100644 --- a/src/libstd/sys/cloudabi/abi/cloudabi.rs +++ b/src/libstd/sys/cloudabi/abi/cloudabi.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2017 Nuxi (https://nuxi.nl/) and contributors. +// Copyright (c) 2016-2017 Nuxi <https://nuxi.nl/> and contributors. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions diff --git a/src/libstd/sys/redox/memchr.rs b/src/libstd/sys/redox/memchr.rs index 409d3a7a855..d2bfcce86f4 100644 --- a/src/libstd/sys/redox/memchr.rs +++ b/src/libstd/sys/redox/memchr.rs @@ -1,5 +1,4 @@ -// -// Original implementation taken from rust-memchr +// Original implementation taken from rust-memchr. // Copyright 2015 Andrew Gallant, bluss and Nicolas Koch pub use core::slice::memchr::{memchr, memrchr}; diff --git a/src/libstd/sys/unix/memchr.rs b/src/libstd/sys/unix/memchr.rs index 05bfecd1d75..ec04a22a0d2 100644 --- a/src/libstd/sys/unix/memchr.rs +++ b/src/libstd/sys/unix/memchr.rs @@ -1,5 +1,4 @@ -// -// Original implementation taken from rust-memchr +// Original implementation taken from rust-memchr. // Copyright 2015 Andrew Gallant, bluss and Nicolas Koch pub fn memchr(needle: u8, haystack: &[u8]) -> Option<usize> { diff --git a/src/libstd/sys/windows/memchr.rs b/src/libstd/sys/windows/memchr.rs index 87b1aa2f24a..b9e5bcc1b4b 100644 --- a/src/libstd/sys/windows/memchr.rs +++ b/src/libstd/sys/windows/memchr.rs @@ -1,6 +1,5 @@ -// -// Original implementation taken from rust-memchr +// Original implementation taken from rust-memchr. // Copyright 2015 Andrew Gallant, bluss and Nicolas Koch -// Fallback memchr is fastest on windows +// Fallback memchr is fastest on Windows. pub use core::slice::memchr::{memchr, memrchr}; |
