aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-02-22 15:19:10 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-02-22 15:19:10 +0000
commite1e4bf93b7e2653d5638711c93be2932647bb22e (patch)
tree0a5a734684d5d09701027342059025a5bccf3dcb
parentdbad9d5f818882b730626028da3943a6c1039ef7 (diff)
downloadpaludis-e1e4bf93b7e2653d5638711c93be2932647bb22e.tar.gz
paludis-e1e4bf93b7e2653d5638711c93be2932647bb22e.tar.xz
Fix doc comments.
-rw-r--r--paludis/util/strip.hh24
1 files changed, 12 insertions, 12 deletions
diff --git a/paludis/util/strip.hh b/paludis/util/strip.hh
index bf4f67e..a699005 100644
--- a/paludis/util/strip.hh
+++ b/paludis/util/strip.hh
@@ -37,39 +37,39 @@
namespace paludis
{
/**
- * Return a string equal to s minus any leading characters that are
- * contained in prefix.
+ * Return a string equal to s, minus the string remove if remove occurs at
+ * the start of s.
*
* \ingroup g_strings
*/
- std::string strip_leading_string(const std::string & s, const std::string & prefix) PALUDIS_VISIBLE
+ std::string strip_leading_string(const std::string & s, const std::string & remove) PALUDIS_VISIBLE
PALUDIS_ATTRIBUTE((warn_unused_result));
/**
- * Return a string equal to s, minus the string remove if remove occurs at
- * the start of s.
+ * Return a string equal to s minus any leading characters that are
+ * contained in prefix.
*
* \ingroup g_strings
*/
- std::string strip_leading(const std::string & s, const std::string & remove) PALUDIS_VISIBLE
+ std::string strip_leading(const std::string & s, const std::string & prefix) PALUDIS_VISIBLE
PALUDIS_ATTRIBUTE((warn_unused_result));
/**
- * Return a string equal to s minus any trailing characters that are
- * contained in suffix.
+ * Return a string equal to s, minus the string remove if remove occurs at
+ * the end of s.
*
* \ingroup g_strings
*/
- std::string strip_trailing_string(const std::string & s, const std::string & suffix) PALUDIS_VISIBLE
+ std::string strip_trailing_string(const std::string & s, const std::string & remove) PALUDIS_VISIBLE
PALUDIS_ATTRIBUTE((warn_unused_result));
/**
- * Return a string equal to s, minus the string remove if remove occurs at
- * the end of s.
+ * Return a string equal to s minus any trailing characters that are
+ * contained in suffix.
*
* \ingroup g_strings
*/
- std::string strip_trailing(const std::string & s, const std::string & remove) PALUDIS_VISIBLE
+ std::string strip_trailing(const std::string & s, const std::string & suffix) PALUDIS_VISIBLE
PALUDIS_ATTRIBUTE((warn_unused_result));
}