Docs.rs
leftpad-0.1.0
leftpad 0.1.0
Docs.rs crate page
BSD-2-Clause
Links
Repository
Crates.io
Source
Owners
hfiguiere
Dependencies
Versions
Go to latest version
Platform
i686-apple-darwin
i686-pc-windows-gnu
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
leftpad
Function
leftpad
::
left_pad
[
−
]
[src]
pub fn left_pad(s: &
str
, pad:
u32
) ->
String
pad a string to the left with
pad
spaces