Commit f7f9e64e authored by Faidon Liambotis's avatar Faidon Liambotis Committed by Facebook Github Bot 5

Fix a few typos all over the code

Summary:
These are pretty trivial. Debian's lint tool (lintian) warns about those
in its verbose mode, and since we saw them when packaging for Debian, we
thought of fixing them and forwarding them upstream.
Closes https://github.com/facebook/folly/pull/345

Reviewed By: Orvid

Differential Revision: D2769801

Pulled By: elliottneilclark

fbshipit-source-id: ad37cc53792f21aae6558ba256f20cb56c6caab5
parent 119aae2d
......@@ -375,7 +375,7 @@ void doNotOptimizeAway(T&& datum) {
BENCHMARK_NAMED_PARAM(name, param, param)
/**
* Same as BENCHMARK_PARAM, but allows to return the actual number of
* Same as BENCHMARK_PARAM, but allows one to return the actual number of
* iterations that have been run.
*/
#define BENCHMARK_PARAM_MULTI(name, param) \
......@@ -415,7 +415,7 @@ void doNotOptimizeAway(T&& datum) {
}
/**
* Same as BENCHMARK_NAMED_PARAM, but allows to return the actual number
* Same as BENCHMARK_NAMED_PARAM, but allows one to return the actual number
* of iterations that have been run.
*/
#define BENCHMARK_NAMED_PARAM_MULTI(name, param_name, ...) \
......@@ -460,7 +460,7 @@ void doNotOptimizeAway(T&& datum) {
__VA_ARGS__)
/**
* Same as BENCHMARK_RELATIVE, but allows to return the actual number
* Same as BENCHMARK_RELATIVE, but allows one to return the actual number
* of iterations that have been run.
*/
#define BENCHMARK_RELATIVE_MULTI(name, ...) \
......@@ -477,7 +477,7 @@ void doNotOptimizeAway(T&& datum) {
BENCHMARK_RELATIVE_NAMED_PARAM(name, param, param)
/**
* Same as BENCHMARK_RELATIVE_PARAM, but allows to return the actual
* Same as BENCHMARK_RELATIVE_PARAM, but allows one to return the actual
* number of iterations that have been run.
*/
#define BENCHMARK_RELATIVE_PARAM_MULTI(name, param) \
......@@ -497,7 +497,7 @@ void doNotOptimizeAway(T&& datum) {
}
/**
* Same as BENCHMARK_RELATIVE_NAMED_PARAM, but allows to return the
* Same as BENCHMARK_RELATIVE_NAMED_PARAM, but allows one to return the
* actual number of iterations that have been run.
*/
#define BENCHMARK_RELATIVE_NAMED_PARAM_MULTI(name, param_name, ...) \
......
......@@ -65,7 +65,7 @@ struct BitsTraits<Unaligned<T>, typename std::enable_if<
}
};
// Special version that allows to disable address sanitizer on demand.
// Special version that allows one to disable address sanitizer on demand.
template <class T>
struct BitsTraits<UnalignedNoASan<T>, typename std::enable_if<
(std::is_integral<T>::value)>::type> {
......
......@@ -31,8 +31,8 @@ class TaskIterator;
/**
* Schedules several tasks and immediately returns an iterator, that
* allow to traverse tasks in the order of their completion. All results and
* exptions thrown are stored alongside with the task id and are
* allow one to traverse tasks in the order of their completion. All results
* and exceptions thrown are stored alongside with the task id and are
* accessible via iterator.
*
* @param first Range of tasks to be scheduled
......
......@@ -29,8 +29,8 @@ class FiberManager;
/**
* @class Baton
*
* Primitive which allows to put current Fiber to sleep and wake it from another
* Fiber/thread.
* Primitive which allows one to put current Fiber to sleep and wake it from
* another Fiber/thread.
*/
class Baton {
public:
......
......@@ -66,7 +66,7 @@ class UndelayedDestruction : public TDD {
* The caller is responsible for ensuring that the object is only destroyed
* where it is safe to do so. (i.e., when the destructor guard count is 0).
*
* The exact conditions for meeting this may be dependant upon your class
* The exact conditions for meeting this may be dependent upon your class
* semantics. Typically you are only guaranteed that it is safe to destroy
* the object directly from the event loop (e.g., directly from a
* EventBase::LoopCallback), or when the event loop is stopped.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment